protected function execute(InputInterface $input, OutputInterface $output) { if ($this->isInstalled() === false) { throw new RuntimeException('Invalid Kirby installation'); } $this->kirby()->cache()->flush(); $output->writeln('<comment>The cache folder has been emptied</comment>'); $output->writeln(''); }