This pull request adds an optional field to the wp plugin list and wp theme list command. With this change, users can now display the auto_updates column when listing plugins or themes by using the --field option, like this:
wp plugin list --field=name,auto_updates or
wp theme list --field=name,auto_updates --format=json
I've also updated the test suite with a test case for this scenario.
Note: This is my first contribution to this project. I'd greatly appreciate any feedback or suggestions on how I can improve my code and my contribution process. Thank you for considering this pull request!
Fixes #344
This pull request adds an optional field to the
wp plugin list
andwp theme list
command. With this change, users can now display theauto_updates
column when listing plugins or themes by using the--field
option, like this:wp plugin list --field=name,auto_updates
orwp theme list --field=name,auto_updates
--format=jsonI've also updated the test suite with a test case for this scenario.
Note: This is my first contribution to this project. I'd greatly appreciate any feedback or suggestions on how I can improve my code and my contribution process. Thank you for considering this pull request!