protected function execute(InputInterface $input, OutputInterface $output)
{
$org = $input->getArgument('other_organization') ?: $this->getParameter($input, 'authentication')['username'];
$repo = $input->getArgument('other_repository') ?: $input->getOption('repo');
$remoteName = $input->getArgument('remote') ?: $org;
$repoInfo = $this->getAdapter()->getRepositoryInfo($org, $repo);
$this->getHelper('git_config')->setRemote($remoteName, $repoInfo['push_url']);
$this->getHelper('gush_style')->success(sprintf('Added remote "%s" with "%s"', $remoteName, $repoInfo['push_url']));
return self::COMMAND_SUCCESS;
}