#101567Autoregister Console Command via PHP Attribute
Description
It would be nice to be able to register console commands via php attributes (e.g. #[BackendController]) like BackendController.
Reviews 9
- main 91623[FEATURE] Add attribute AsNonSchedulableCommand for "schedulable"
- main 82083[TASK] Register schedulable commands via `AsCommand` attribute
- 12.4 81777[BUGFIX] Properly handle aliases with the AsCommand registration
- main 81795[BUGFIX] Properly handle aliases with the AsCommand registration
- main 81602[DOCS] Clarify Symfony CLI attribute argument "hidden" it not usable
- main 81617[TASK] Respect the AsCommand `hidden` constructor argument
- 12.4 81660[TASK] Respect the AsCommand `hidden` constructor argument
- 12.4 81559[TASK] Introduce Symfony attribute based registration of CLI commands
- main 80404[TASK] Introduce Symfony attribute based registration of CLI commands