/** * Configures the command. */ protected function configure() { parent::configure(); $this->setName('check')->setDescription('Checks if your source files have the correct license information.'); }
/** * Configures the command interface */ protected function configure() { parent::configure(); $this->setName('run')->setDescription('Runs the licenser against the given source path')->addOption('replace-existing', 'r', InputOption::VALUE_NONE, 'Replace existing license headers')->addOption('dry-run', '', InputOption::VALUE_NONE, 'If specified, the command will report a list of affected files but will make no modifications'); }