[!!!][TASK] Migrate Lowlevel "missing_relations" command 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:missingrelations' => [
24 'class' => \TYPO3\CMS\Lowlevel\Command\MissingRelationsCommand::class,
25 // needed for updating the reference index (optional)
26 'user' => '_cli_lowlevel'
27 ],
28 'cleanup:deletedrecords' => [
29 'class' => \TYPO3\CMS\Lowlevel\Command\DeletedRecordsCommand::class,
30 'user' => '_cli_lowlevel'
31 ],
32 'cleanup:orphanrecords' => [
33 'class' => \TYPO3\CMS\Lowlevel\Command\OrphanRecordsCommand::class,
34 'user' => '_cli_lowlevel'
35 ],
36 'cleanup:flexforms' => [
37 'class' => \TYPO3\CMS\Lowlevel\Command\CleanFlexFormsCommand::class,
38 'user' => '_cli_lowlevel'
39 ]
40 ];