Exemplo n.º 1
0
 /**
  * @{inheritdoc}
  */
 protected function configure()
 {
     $this->setDescription('Opens the website for a repository in your browser');
     $this->addOption('remote', null, InputOption::VALUE_REQUIRED, 'Remote', 'origin');
     $this->addOption('branch', null, InputOption::VALUE_REQUIRED, 'Branch name');
     parent::configure();
 }
Exemplo n.º 2
0
 /**
  * @{inheritdoc}
  */
 protected function configure()
 {
     $this->setDescription('Git status for to one or all projects');
     parent::configure();
 }
Exemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->setDescription('Retrieve contributors to to one project or all projects, both large and small');
     parent::configure();
 }
Exemplo n.º 4
0
 /**
  * @{inheritdoc}
  */
 protected function executeCommandByProject($projectName, ProjectConfiguration $projectConfig, OutputInterface $output)
 {
     $this->gitCommand = 'log --graph --pretty=tformat:\'%Cred%h%Creset -%C(cyan)%d %Creset%s %Cgreen(%an %cr)%Creset\' --abbrev-commit --date=relative';
     parent::executeCommandByProject($projectName, $projectConfig, $output);
 }
Exemplo n.º 5
0
 /**
  * @{inheritdoc}
  */
 protected function configure()
 {
     $this->setDescription('Opens Git gui for to one or all projects');
     parent::configure();
     $this->addOption('client-name', null, InputOption::VALUE_REQUIRED, 'Which GUI Client to use', $this->getDefaultClient());
 }