/** * {inheritdoc} */ protected function configure() { parent::configure(); $this->setName('self-update')->setAliases(['selfupdate'])->setDescription('Update your twgit version.')->addOption('rollback', 'r', InputOption::VALUE_NONE, 'Rollback to previous version.')->addOption('clean-old-versions', 'c', InputOption::VALUE_NONE, 'Clean old downloaded verions.'); }
/** * {inheritdoc} */ protected function configure() { parent::configure(); $this->setName('feature')->setDescription('Manage your feature branches.')->addArgument('name', InputArgument::OPTIONAL, 'Name')->addOption('delete', 'd', InputOption::VALUE_NONE, 'Delete a local branch to recreate it.'); }
/** * {inheritdoc} */ protected function configure() { parent::configure(); $this->setName('release')->setDescription('Manage your release branches.')->addArgument('name', InputArgument::OPTIONAL, 'Name')->addOption('minor', 'm', InputOption::VALUE_NONE)->addOption('major', 'M', InputOption::VALUE_NONE)->addOption('no-fetch', 'F', InputOption::VALUE_NONE); }
/** * {inheritdoc} */ protected function configure() { parent::configure(); $this->setName('hotfix')->setDescription('Manage your hotfix branches.')->addArgument('name', InputArgument::OPTIONAL, 'Name')->addOption('no-fetch', 'F', InputOption::VALUE_NONE); }