WordPress / plugin-check

A repository for the new Plugin Check plugin from the WordPress Performance and Plugins Team.
https://wordpress.org/plugins/plugin-check/
GNU General Public License v2.0
268 stars 53 forks source link

Validate field name values passed in `--fields` #360

Closed ernilambar closed 10 months ago

ernilambar commented 11 months ago

When I run following command:

wp plugin check hello-dolly --fields=nonexistent_name

Output:

FILE: hello.php
Error: Invalid field: nonexistent_name.

This validation should be done in the initial.

Expected output:

Error: Invalid field: nonexistent_name.
ernilambar commented 10 months ago

Closing for now.