protected function execute(InputInterface $input, OutputInterface $output) { $branchName = $input->getArgument('branch_name'); $org = $input->getArgument('organization'); $this->guardProtectedBranches($input, $branchName); $this->getHelper('git')->pushToRemote($org, ':' . $branchName, true); $this->getHelper('gush_style')->success(sprintf('Branch %s/%s has been deleted!', $org, $branchName)); return self::COMMAND_SUCCESS; }