public function configure()
{
$this->setName('sulu:content:cleanup-history');
$this->setDescription('Cleanup resource-locator history');
$this->setHelp(<<<'EOT'
The <info>%command.name%</info> command cleanup the history of the resource-locator of a <info>locale</info>.
%command.full_name% sulu_io de --dry-run
If you want to cleanup a special directory you can past the base-path:
%command.full_name% sulu_io de -p /team --dry-run
EOT
);
$this->addArgument('webspaceKey', InputArgument::REQUIRED, 'Resource-locators belonging to this webspace');
$this->addArgument('locale', InputArgument::REQUIRED, 'Locale to search (e.g. de)');
$this->addOption('base-path', 'p', InputOption::VALUE_OPTIONAL, 'base path to search for history urls');
$this->addOption('dry-run', null, InputOption::VALUE_NONE, 'Do not persist changes');
}