/** * {@inheritdoc} */ public function configure(Command $command) { $locatorsExamples = implode(PHP_EOL, array_map(function ($locator) { return '- ' . $locator; }, $this->specificationFinder->getExampleLocators())); $command->addArgument('paths', InputArgument::OPTIONAL, 'Optional path(s) to execute. Could be:' . PHP_EOL . $locatorsExamples)->addOption('--dry-run', null, InputOption::VALUE_NONE, 'Invokes formatters without executing the tests and hooks.'); }