`--format` argument fails to change output of command
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
Start at the implementation or entry point for wp plugin verify-checksums and trace how its --format option is passed to output handling. Reproduce the six commands listed, then verify that each supported format changes the output while checksum verification remains correct.
Written by the indexing model from the issue text.
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.
- Dominant language
- PHP
- Stars
- 33
- Forks
- 27
- Avg merge
- 5m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RSS-Bridge/rss-bridge#5098 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
phingofficial/phing#2025 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
silverstripe/developer-docs#911 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100