[!!!][TASK] Migrate MissingFilesCommand to Symfony Console
[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:missingfiles' => [
14 'class' => \TYPO3\CMS\Lowlevel\Command\MissingFilesCommand::class,
15 // needed for updating the reference index (optional)
16 'user' => '_cli_lowlevel'
17 ],
18 'cleanup:lostfiles' => [
19 'class' => \TYPO3\CMS\Lowlevel\Command\LostFilesCommand::class,
20 // needed for updating the reference index (optional)
21 'user' => '_cli_lowlevel'
22 ],
23 'cleanup:deletedrecords' => [
24 'class' => \TYPO3\CMS\Lowlevel\Command\DeletedRecordsCommand::class,
25 'user' => '_cli_lowlevel'
26 ],
27 'cleanup:orphanrecords' => [
28 'class' => \TYPO3\CMS\Lowlevel\Command\OrphanRecordsCommand::class,
29 'user' => '_cli_lowlevel'
30 ],
31 'cleanup:flexforms' => [
32 'class' => \TYPO3\CMS\Lowlevel\Command\CleanFlexFormsCommand::class,
33 'user' => '_cli_lowlevel'
34 ]
35 ];