| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- /**
- * Commands to be executed by typo3, where the key of the array
- * is the name of the command (to be called as the first argument after typo3).
- * Required parameter is the "class" of the command which needs to be a subclass
- * of Symfony/Console/Command.
- */
- // /!\ WARNING: this way of register commands will be deprecated with Typo3 v10
- // https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/CommandControllers/Index.html#creating-a-new-command-in-extensions
- return [
- 'ot:site:create' => [
- 'class' => Opentalent\OtAdmin\Command\CreateSiteCommand::class
- ],
- 'ot:site:delete' => [
- 'class' => Opentalent\OtAdmin\Command\DeleteSiteCommand::class
- ],
- 'ot:site:undelete' => [
- 'class' => Opentalent\OtAdmin\Command\UndeleteSiteCommand::class
- ],
- 'ot:site:update' => [
- 'class' => Opentalent\OtAdmin\Command\UpdateSiteCommand::class
- ],
- 'ot:site:clear-cache' => [
- 'class' => Opentalent\OtAdmin\Command\ClearSiteCacheCommand::class
- ],
- 'ot:site:setdomain' => [
- 'class' => Opentalent\OtAdmin\Command\SetSiteDomainCommand::class
- ],
- 'ot:site:status' => [
- 'class' => Opentalent\OtAdmin\Command\GetSiteStatusCommand::class
- ],
- 'ot:redirection:add' => [
- 'class' => Opentalent\OtAdmin\Command\AddRedirectionCommand::class
- ],
- 'ot:redirection:remove' => [
- 'class' => Opentalent\OtAdmin\Command\RemoveRedirectionCommand::class
- ],
- 'ot:scan' => [
- 'class' => Opentalent\OtAdmin\Command\ScanCommand::class
- ]
- ];
|