Acacha\Llum\Console\GithubRepoCommand::githubCreateRepo PHP Method

githubCreateRepo() public method

Github create repo command.
public githubCreateRepo ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    public function githubCreateRepo(InputInterface $input, OutputInterface $output)
    {
        $this->api->setCredentials($this->getCredentials($output));
        $name = $this->repoName($input);
        try {
            $this->api->createRepo($name, $this->repoDescription($input));
        } catch (ServerException $se) {
            //TODO
            $output->writeln('<error>Server exception thrown</error>');
            die;
        } catch (ClientException $ce) {
            $this->showError($ce, $output);
        }
        $output->writeln('<info>Repository ' . $name . ' created</info>');
    }