setName('maintenance:theme:update') ->setDescription('Apply custom theme changes'); } protected function execute(InputInterface $input, OutputInterface $output): int { // run mimetypelist.js update since themes might change mimetype icons parent::execute($input, $output); // cleanup image cache $c = $this->cacheFactory->createDistributed('imagePath'); $c->clear(''); $output->writeln('Image cache cleared'); return 0; } }