ef445b86c9a662e2c254c34ce3df75b44305dc8a
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / 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. An optional parameter is "user" that logs in
7 * a Backend user via CLI.
8 *
9 * example: bin/typo3 backend:lock
10 */
11 return [
12 'backend:lock' => [
13 'class' => \TYPO3\CMS\Backend\Command\LockBackendCommand::class
14 ],
15 'backend:unlock' => [
16 'class' => \TYPO3\CMS\Backend\Command\LockBackendCommand::class
17 ],
18 'referenceindex:update' => [
19 'class' => \TYPO3\CMS\Backend\Command\ReferenceIndexUpdateCommand::class,
20 'user' => '_cli_lowlevel'
21 ]
22 ];