/**
* {@inheritdoc}
*/
protected function configure() { $this ->
setName('sw:media:optimize'
) ->
setHelp('The <info>%command.name%</info> optimizes your uploaded media using external tools. You can check the availability using the <info>--info</info> option.'
) ->
setDescription('Optimize uploaded media without quality loss.'
) ->
addArgument('path', InputArgument::OPTIONAL, 'Path to your media folder', null
) ->
addOption('info', 'i', InputOption::VALUE_NONE, 'Display available tools'
) ->
addOption('skip-scan', null, InputOption::VALUE_NONE, 'Skips the initial filesystem scan.'
) ->
addOption('modified', 'm', InputOption::VALUE_REQUIRED, 'Limits the files modify date to the provided time string.'
) ->
addOption('force', 'f', InputOption::VALUE_NONE, 'Force optimization of files on remote file system adapters without asking first'
) ;
} /**
* {@inheritdoc}
*/
protected function execute(InputInterface
$input, OutputInterface
$output) {