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

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('pull-request:squash')->setDescription('Squashes all commits of a pull request')->addOption('no-local-sync', null, InputOption::VALUE_NONE, 'Do not sync the local branch with the squashed version')->addArgument('pr_number', InputArgument::REQUIRED, 'pull-request number to squash')->setHelp(<<<EOF
The <info>%command.name%</info> command squashes all commits of a pull-request:

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

Make sure you are the pull-requests\\'s source-branch repository owner
or have been granted push access to the repository.

Note: This will squash all commits in the pull-request and (when a local branch exists with
the same name) sync your local source branch with the squashed version.
You can skip this sync-process using the <comment>--no-local-sync</> option.
EOF
);
    }
PullRequestSquashCommand