public function fire() { $dry = $this->input->getOption('dry-run'); foreach ($this->storage->deleteAllCrops($this->input->getOption('filter'), $dry) as $path) { $this->info(sprintf('%s %s', $path, $dry ? 'not deleted' : 'deleted')); } }