Gush\Command\Branch\BranchDeleteCommand::configure PHP Метод

configure() защищенный Метод

protected configure ( )
    protected function configure()
    {
        $this->setName('branch:delete')->setDescription('Deletes the current branch, or the branch with the given name')->addArgument('branch_name', InputArgument::OPTIONAL, 'Optional branch name to delete')->addArgument('organization', InputArgument::OPTIONAL, 'Organization (defaults to username) where the branch will be deleted')->addOption('force', null, InputOption::VALUE_NONE, 'Attempts to delete the branch even when permissions detected are insufficient')->setHelp(<<<EOF
The <info>%command.name%</info> command deletes the current or given remote branch on
the organization (defaults to username):

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

Note: The "organization" argument defaults to your username (the forked repository) not
the organization you would normally provide using the --org option.

For security reasons it's not directly possible to delete the "master" branch,
use the <comment>--force</comment> option to force a delete, use with caution!
EOF
);
    }