프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$api | Github api service class. | ||
$commandDescription | string | Command description. | |
$commandName | string | Command name. | |
$method | string | Method to execute. | |
$parser | Llum rc file parser. |
메소드 | 설명 | |
---|---|---|
__construct ( |
GithubRepoCommand constructor. | |
configure ( ) | Configure command. | |
getCredentials ( Symfony\Component\Console\Output\OutputInterface $output ) : array | Get credentials. | |
githubCreateRepo ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | Github create repo command. |
메소드 | 설명 | |
---|---|---|
repoDescription ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | string | Obtain repo description. | |
repoName ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | string | Obtain repo name. | |
showError ( GuzzleHttp\Exception\ClientException $ce, Symfony\Component\Console\Output\OutputInterface $output ) | Show error. |
public __construct ( |
||
$api | ||
$parser |
public getCredentials ( Symfony\Component\Console\Output\OutputInterface $output ) : array | ||
$output | Symfony\Component\Console\Output\OutputInterface | |
리턴 | array |
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 |
protected repoDescription ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | string | ||
$input | Symfony\Component\Console\Input\InputInterface | |
리턴 | mixed | string |
protected showError ( GuzzleHttp\Exception\ClientException $ce, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$ce | GuzzleHttp\Exception\ClientException | |
$output | Symfony\Component\Console\Output\OutputInterface |
protected GithubAPI,Acacha\Llum\Github $api | ||
리턴 |
protected string $commandDescription | ||
리턴 | string |