Example #1
0
File: Push.php Project: iamluc/buse
 protected function configure()
 {
     parent::configure();
     $this->setName('push')->setDescription('Push your repositories')->addArgument('remote', InputArgument::OPTIONAL, 'Remote')->addArgument('branch', InputArgument::OPTIONAL, 'Branch');
 }
Example #2
0
File: Exec.php Project: iamluc/buse
 protected function configure()
 {
     parent::configure();
     $this->setName('exec')->setDescription('Execute a command in your repositories')->addOption('continue', 'e', InputOption::VALUE_NONE, 'Continue on error');
 }
Example #3
0
File: Tag.php Project: iamluc/buse
 protected function configure()
 {
     parent::configure();
     $this->setName('tag')->setDescription('Get and create tags')->addArgument('tagname', InputArgument::OPTIONAL, 'Tag name')->addOption('delete', 'd', InputOption::VALUE_NONE, 'Delete tag');
 }
Example #4
0
 protected function configure()
 {
     parent::configure();
     $this->setName('config')->setDescription('Get and set configuration')->addArgument('option', InputArgument::OPTIONAL, 'The name of the option')->addArgument('value', InputArgument::OPTIONAL, 'The value of the option');
 }
Example #5
0
 protected function configure()
 {
     parent::configure();
     $this->setName('clone')->setDescription('clone repositories defined in config file');
 }
Example #6
0
File: Git.php Project: iamluc/buse
 protected function configure()
 {
     parent::configure();
     $this->setName('git')->setDescription('Execute a git command in your repositories (do not specify `git` in your command)')->addOption('continue', 'e', InputOption::VALUE_NONE, 'Continue on error');
 }
Example #7
0
 protected function configure()
 {
     parent::configure();
     $this->setName('status')->setDescription('Get status of your repositories');
 }
Example #8
0
File: Pull.php Project: iamluc/buse
 protected function configure()
 {
     parent::configure();
     $this->setName('pull')->setDescription('Pull your repositories')->addArgument('remote', InputArgument::OPTIONAL, 'Remote')->addArgument('branch', InputArgument::OPTIONAL, 'Branch')->addOption('ff-only', 'f', InputOption::VALUE_NONE, 'Fast forward only')->addOption('rebase', 'r', InputOption::VALUE_NONE, 'Rebase instead of merge');
 }
Example #9
0
 protected function configure()
 {
     parent::configure();
     $this->setName('fetch')->setDescription('Fetch your repositories')->addArgument('remote', InputArgument::OPTIONAL, 'Remote')->addOption('prune', 'p', InputOption::VALUE_NONE, 'After fetching, remove any remote-tracking references that no longer exist on the remote');
 }