Permalink
Browse files

Move GenerateThumbnailsCommand in app/config/console.yml

Move GenerateThumbnailsCommand in app/config/console.yml

Moved from bin/console.
  • Loading branch information...
jeroendesloovere committed Apr 4, 2018
1 parent 588c11a commit f59c90ace54f52a432a1023702b227fed8b30da6
Showing with 6 additions and 1 deletion.
  1. +6 −0 app/config/console.yml
  2. +0 −1 bin/console
@@ -3,3 +3,9 @@ services:
class: Console\Core\CacheClearCommand
tags:
- { name: console.command }
forkcms.console.thumbnails.generate:
class: Console\Thumbnails\GenerateThumbnailsCommand
arguments:
- "@forkcms.utility.thumbnails"
tags:
- { name: console.command }
@@ -42,7 +42,6 @@ $backend->initialize('Console');
$application = new Application($kernel);
$application->add(new \Console\Locale\ImportLocaleCommand());
$application->add(new \Console\Thumbnails\GenerateThumbnailsCommand($kernel->getContainer()->get('forkcms.utility.thumbnails')));
if ($kernel->getContainer()->get('fork.settings') instanceof ModulesSettings) {
$application->add(
new \Console\Locale\EnableLocaleCommand(

0 comments on commit f59c90a

Please sign in to comment.