[TASK] Deprecate Extbase CommandControllers and @cli annotation
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Configuration / Commands.php
1 <?php
2 /**
3 * Commands to be executed by typo3, where the key of the array
4 * is the name of the command (to be called as the first argument after typo3).
5 * Required parameter is the "class" of the command which needs to be a subclass
6 * of Symfony/Console/Command.
7 * @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0. Use symfony/console commands instead.
8 */
9 return [
10 '_core_command' => [
11 'class' => \TYPO3\CMS\Extbase\Command\CoreCommand::class,
12 'schedulable' => false,
13 ],
14 // Overriding Symfony Help command to use Extbase-specific output
15 '_extbase_help' => [
16 'class' => \TYPO3\CMS\Extbase\Command\HelpCommand::class,
17 'schedulable' => false,
18 ]
19 ];