I am using the WP-CLI to manage my sites. I can run the following command
wp post list --fields=ID,mycustomfield
ID | mycustomfield
-----------------------
1 | active
2 | active
3 | disabled
4 | active
I am trying to narrow this list down by only returning those which has mycustomfield as active
Any ideas how I can do this?