private function askBranch(InputInterface $input, IoService $ioService)
{
$branch = $input->getOption('branch');
if (!$branch) {
$branchSuggestion = self::MAIN_BRANCH;
$branch = $ioService->ask("Please provide the branch you want to install <{$branchSuggestion}>: ");
$branch = trim($branch) ? $branch : self::MAIN_BRANCH;
$input->setOption('branch', $branch);
return $branch;
}
return $branch;
}