`--format` argument fails to change output of command
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- PHP
- Stelle
- 33
- Fork
- 27
- Merge medio
- 5m
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Issue simili
-
sync-en
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
-
sync-en
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
-
Перевод устарел
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
-
[6.x]: "Cannot use object of type stdClass as array" loading Users index (regression of #19182) Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100