Gush\Command\Branch\BranchPushCommand::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('branch:push')->setDescription('Pushes and tracks the current local branch into user own fork')->addArgument('target_organization', InputArgument::OPTIONAL, 'Organization of the branch you wan\'t to push to.')->addOption('set-upstream', 'u', InputOption::VALUE_NONE, 'Set the target_organization as the default upstream')->addOption('force', 'f', InputOption::VALUE_NONE, 'Push branch to remote ignoring non-update branch state.')->setHelp(<<<EOF
The <info>%command.name%</info> command pushes the current local branch into your own fork:

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

EOF
);
    }
BranchPushCommand