You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature symfony#57426 [Messenger] Add --format option to the messenger:stats command (xvilo)
This PR was squashed before being merged into the 7.2 branch.
Discussion
----------
[Messenger] Add `--format` option to the `messenger:stats` command
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | yes <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Issues | Fixsymfony#48583 <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
| License | MIT
As requested in symfony#48583 add a way to output different in formats for `messenger:stats` command. This can be more easily used in, for example, `jq` or with external automations/scripts and such.
Considerations I made:
- To not, yet, make different classes for the output. In case a new output format is added this might be handy.
- To not use an enum for output format, do we want this?
- To ignore warnings for now, except for the `uncountable_transports`. If we want to warning in there, what format?
Commits
-------
0e9f458 [Messenger] Add `--format` option to the `messenger:stats` command
0 commit comments