[FEATURE] Add annotation for CLI only commands
This adds the annotation "@cli" to declare Extbase CommandController commands to be usable on CLI only and is used to remove these commands from the Scheduler task list. Also annotate the following commands as CLI only: - help:help - extension:install - extension:uninstall - extension:dumpclassloadinginformation Resolves: #68746 Releases: master Change-Id: Ifb55def33c11e4a10510433f03ddc9279ee56898 Reviewed-on: http://review.typo3.org/43268 Reviewed-by:Nicole Cordes <typo3@cordes.co> Tested-by:
Nicole Cordes <typo3@cordes.co> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Morton Jonuschat <m.jonuschat@mojocode.de> Tested-by:
Morton Jonuschat <m.jonuschat@mojocode.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Feature-68746-AddAnnotationForCLIOnlyCommands.rst 17 additions, 0 deletions.../master/Feature-68746-AddAnnotationForCLIOnlyCommands.rst
- typo3/sysext/extbase/Classes/Command/HelpCommandController.php 1 addition, 1 deletion.../sysext/extbase/Classes/Command/HelpCommandController.php
- typo3/sysext/extbase/Classes/Mvc/Cli/Command.php 9 additions, 0 deletionstypo3/sysext/extbase/Classes/Mvc/Cli/Command.php
- typo3/sysext/extbase/Classes/Scheduler/FieldProvider.php 19 additions, 18 deletionstypo3/sysext/extbase/Classes/Scheduler/FieldProvider.php
- typo3/sysext/extbase/Tests/Unit/Scheduler/FieldProviderTest.php 63 additions, 0 deletions...sysext/extbase/Tests/Unit/Scheduler/FieldProviderTest.php
- typo3/sysext/extensionmanager/Classes/Command/ExtensionCommandController.php 3 additions, 0 deletions...ionmanager/Classes/Command/ExtensionCommandController.php
Please register or sign in to comment