addArgument('paths', InputArgument::IS_ARRAY, 'Paths to warm; none = every page of sitemap.xml');
}
protected function execute(InputInterface $input, OutputInterface $output): int
{
$result = $this->purgeService->warm((array)$input->getArgument('paths'));
$output->writeln(($result['success'] ? 'OK ' : 'FAILED ') . $result['message']);
return $result['success'] ? Command::SUCCESS : Command::FAILURE;
}
}