-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Summary
While trying to use the --format argument with the wp plugin verify-checksums commands I found the output wouldn't change. I've tried all format options listed and none of them change the format outputted.
Steps to reproduce
- Run command ‘wp plugin verify-checksums --all’
- Run command ‘wp plugin verify-checksums --all --format=json’
- Run command ‘wp plugin verify-checksums --all --format=csv’
- Run command ‘wp plugin verify-checksums --all --format=count’
- Run command ‘wp plugin verify-checksums --all --format=yaml’
- Run command ‘wp plugin verify-checksums --all --format=table’
- Observe the output of all six commands is identical.
Environment
- WP-CLI 1.5.1
Results and impacts
Severity – Moderate
Expected Results: Output in the format specified in the command line argument
Actual Results: The output does not follow the format specified.
This command has been incredibly useful to me in one off scenarios, but I can't use it effectively in scripts and Unix pipes without the option of a clean output format.