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

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('pull-request:checkout')->setDescription('Checks out a pull request as local branch')->addArgument('pr_number', InputArgument::REQUIRED, 'Pull Request number to be checked-out')->setHelp(<<<EOF
The <info>%command.name%</info> command is used to check a pull-request out from the organization.

When the branch already exists Gush will check if the remote-upstream is the same
as the source organization of the pull-request and check out the local branch instead.

EOF
);
    }
PullRequestCheckoutCommand