Свойство | Type | Description | |
---|---|---|---|
$api | Github api service class. | ||
$commandDescription | string | Command description. | |
$commandName | string | Command name. | |
$method | string | Method to execute. | |
$parser | Llum rc file parser. |
Méthode | Description | |
---|---|---|
__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. |
Méthode | Description | |
---|---|---|
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 | |
Résultat | 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 | |
Résultat | 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 | ||
Résultat |
protected string $commandDescription | ||
Résultat | string |