프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$commandDescription | string | Command description. | |
$commandName | string | Command name. | |
$method | string | Method to execute. | |
$output | Symfony\Component\Console\Output\OutputInterface | Symfony console output. | |
$parser | Llum rc file parser. |
메소드 | 설명 | |
---|---|---|
__construct ( |
GithubInitCommand constructor. | |
configure ( ) | Configure command. | |
getRepoURL ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : string | Get github repo URL. | |
gitHubInitRepo ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | Github init repo command. |
메소드 | 설명 | |
---|---|---|
getGithubUserNameFromConfig ( Symfony\Component\Console\Output\OutputInterface $output ) : array | Get github username from llum config. | |
gitHubUsername ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : array | mixed | Get github username. | |
repoName ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | string | Obtain repo name. | |
runGitAdd ( ) | Run git add command. | |
runGitCommit ( ) | Run git commit command. | |
runGitCreateRepo ( ) | Run llum github:repo command. | |
runGitInit ( ) | Run git init command. | |
runGitPull ( ) | Run git pull. | |
runGitPush ( ) | Run git push. | |
runGitRemoteAddOrigin ( $url ) | Run git remote add origin. |
public __construct ( |
||
$parser |
protected getGithubUserNameFromConfig ( Symfony\Component\Console\Output\OutputInterface $output ) : array | ||
$output | Symfony\Component\Console\Output\OutputInterface | |
리턴 | array |
public getRepoURL ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : string | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
리턴 | string |
public gitHubInitRepo ( 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 gitHubUsername ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : array | mixed | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
리턴 | array | mixed |
protected runGitRemoteAddOrigin ( $url ) | ||
$url |
protected string $commandDescription | ||
리턴 | string |
protected OutputInterface,Symfony\Component\Console\Output $output | ||
리턴 | Symfony\Component\Console\Output\OutputInterface |