[FEATURE] Allow Extbase CLI commands to be available via new CLI API 86/51886/8
authorBenni Mack <benni@typo3.org>
Tue, 28 Feb 2017 07:51:15 +0000 (08:51 +0100)
committerFrank Nägler <frank.naegler@typo3.org>
Mon, 27 Mar 2017 12:37:25 +0000 (14:37 +0200)
[FEATURE] Allow Extbase CLI commands to be available via new CLI API

This ensures to call extbase commands & command controllers automatically
via the new CLI binary.

Extbase now also overrides the help command by symfony to allow extbase
custom HelpCommandController to come into play when an Extbase command
was called.

This patch is critical for v8 so all core-internal CLI commands are available via
"typo3/sysext/core/bin/typo3", otherwise we'd need to explain every admin
that there are two CLI entrypoints for v8 which are relevant, because Extbase is
still solely using "typo3/cli_dispatch.phpsh" until now, while all other entry
points have been migrated already.

Resolves: #80452
Releases: master
Change-Id: I70e56c2cbef993cf16dfb212ba1a11add0017a01
Reviewed-on: https://review.typo3.org/51886
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
typo3/sysext/core/Documentation/Changelog/master/Feature-80452-ExtbaseCLICommandsAvailableViaNewCLIAPI.rst [new file with mode: 0644]
typo3/sysext/extbase/Classes/Command/CoreCommand.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Command/ExtbaseCommand.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Command/HelpCommand.php [new file with mode: 0644]
typo3/sysext/extbase/Configuration/Commands.php [new file with mode: 0644]