PHPSemVerChecker\Console\Command\CompareCommand::configure PHP Method

configure() protected method

protected configure ( ) : void
return void
    protected function configure()
    {
        $this->setName('compare')->setDescription('Compare a set of files to determine what semantic versioning change needs to be done')->setDefinition([new InputArgument('source-before', InputArgument::REQUIRED, 'A base directory to check (ex my-test)'), new InputArgument('source-after', InputArgument::REQUIRED, 'A base directory to check against (ex my-test)'), new InputOption('include-before', null, InputOption::VALUE_REQUIRED, 'List of paths to include <info>(comma separated)</info>'), new InputOption('include-after', null, InputOption::VALUE_REQUIRED, 'List of paths to include <info>(comma separated)</info>'), new InputOption('exclude-before', null, InputOption::VALUE_REQUIRED, 'List of paths to exclude <info>(comma separated)</info>'), new InputOption('exclude-after', null, InputOption::VALUE_REQUIRED, 'List of paths to exclude <info>(comma separated)</info>'), new InputOption('full-path', null, InputOption::VALUE_NONE, 'Display the full path to the file instead of the relative path'), new InputOption('config', null, InputOption::VALUE_REQUIRED, 'A configuration file to configure php-semver-checker'), new InputOption('to-json', null, InputOption::VALUE_REQUIRED, 'Output the result to a JSON file')]);
    }
CompareCommand