[!!!][TASK] Migrate lowlevel deleted records command to SymfonyConsole
[Packages/TYPO3.CMS.git] / typo3 / sysext / lowlevel / 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 return [
10 'syslog:list' => [
11 'class' => \TYPO3\CMS\Lowlevel\Command\ListSysLogCommand::class
12 ],
13 'cleanup:deletedrecords' => [
14 'class' => \TYPO3\CMS\Lowlevel\Command\DeletedRecordsCommand::class,
15 'user' => '_cli_lowlevel'
16 ]
17 ];