[!!!][TASK] Migrate lowlevel rte_images command to Symfony Console 50/50650/6
authorBenni Mack <benni@typo3.org>
Mon, 14 Nov 2016 07:21:25 +0000 (08:21 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 7 Dec 2016 09:13:20 +0000 (10:13 +0100)
commit52dd9357e4d851a4e8418100bc1cf8cd711e4943
tree3910a1072e95ea50db28a6be18dc31a5569c1f37
parente50f99667033286f2c81b2d23b3bb01eb678186f
[!!!][TASK] Migrate lowlevel rte_images command to Symfony Console

The CLI command to detect RTE magic images (images added
within the RTE) and (as far as possible) remove unused RTE images
as well as copy RTE images referenced multiple times, is migrated to
Symfony Console to better structure the CLI command and get rid
of dependencies of the old CLI command line tools (non-extbase).

The command was previously available under
./typo3/cli_dispatch lowlevel_cleaner rte_images

and is now called via
./typo3/sysext/core/bin/typo3 cleanup:rteimages

and allows the following options:
--dry-run - do not update the images and delete lost files, but just print them
--update-refindex - update the reference index, do not ask the user

Resolves: #78895
Releases: master
Change-Id: I6e30b7a32fe14bc89cebd85167961ec8fa996c54
Reviewed-on: https://review.typo3.org/50650
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Documentation/Changelog/master/Breaking-78895-LowlevelRteImagesCommandParametersChanged.rst [new file with mode: 0644]
typo3/sysext/lowlevel/Classes/Command/RteImagesCommand.php [new file with mode: 0644]
typo3/sysext/lowlevel/Classes/RteImagesCommand.php [deleted file]
typo3/sysext/lowlevel/Configuration/Commands.php
typo3/sysext/lowlevel/ext_localconf.php