Gush\Command\PullRequest\PullRequestSemVerCommand::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('pull-request:semver')->setDescription('Provides information about the semver version of a pull-request')->addArgument('pr_number', InputArgument::REQUIRED, 'Pull Request number')->addOption('major', null, InputOption::VALUE_NONE, 'Conveys it is a major feature')->addOption('minor', null, InputOption::VALUE_NONE, 'Conveys it is a minor feature')->addOption('patch', null, InputOption::VALUE_NONE, 'Conveys it is a patch')->setHelp(<<<EOF
The <info>%command.name%</info> command provides information about semver version of a pull request:

    <info>\$ gush %command.name% 12</info>

EOF
);
    }
PullRequestSemVerCommand