[!!!][FEATURE] Introduce single _cli_ user for all CLI calls
[Packages/TYPO3.CMS.git] / typo3 / sysext / lowlevel / Configuration / Commands.php
index 4c1ae1b..0f39cdd 100644 (file)
@@ -3,15 +3,37 @@
  * 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. An optional parameter is "user" that logs in
- * a Backend user via CLI.
+ * of Symfony/Console/Command.
  */
 return [
     'syslog:list' => [
         'class' => \TYPO3\CMS\Lowlevel\Command\ListSysLogCommand::class
     ],
+    'cleanup:missingfiles' => [
+        'class' => \TYPO3\CMS\Lowlevel\Command\MissingFilesCommand::class
+    ],
+    'cleanup:lostfiles' => [
+        'class' => \TYPO3\CMS\Lowlevel\Command\LostFilesCommand::class
+    ],
+    'cleanup:multiplereferencedfiles' => [
+        'class' => \TYPO3\CMS\Lowlevel\Command\FilesWithMultipleReferencesCommand::class
+    ],
+    'cleanup:rteimages' => [
+        'class' => \TYPO3\CMS\Lowlevel\Command\RteImagesCommand::class
+    ],
+    'cleanup:missingrelations' => [
+        'class' => \TYPO3\CMS\Lowlevel\Command\MissingRelationsCommand::class
+    ],
     'cleanup:deletedrecords' => [
-        'class' => \TYPO3\CMS\Lowlevel\Command\DeletedRecordsCommand::class,
-        'user' => '_cli_lowlevel'
+        'class' => \TYPO3\CMS\Lowlevel\Command\DeletedRecordsCommand::class
+    ],
+    'cleanup:orphanrecords' => [
+        'class' => \TYPO3\CMS\Lowlevel\Command\OrphanRecordsCommand::class
+    ],
+    'cleanup:flexforms' => [
+        'class' => \TYPO3\CMS\Lowlevel\Command\CleanFlexFormsCommand::class,
+    ],
+    'cleanup:versions' => [
+        'class' => \TYPO3\CMS\Lowlevel\Command\WorkspaceVersionRecordsCommand::class,
     ]
 ];