Example #1
0
 protected function configure()
 {
     parent::configure();
     $this->addArgument('release', InputOption::VALUE_REQUIRED, 'Release to add the change to, will be created if it does not exist.');
     $this->addArgument('type', InputOption::VALUE_REQUIRED, 'Added, fixed, changed, etc');
     $this->addArgument('change', InputOption::VALUE_REQUIRED, 'Change message, eg "fixed issue #123"');
 }
Example #2
0
 protected function configure()
 {
     parent::configure();
     $this->addArgument('release', InputOption::VALUE_REQUIRED, 'New release number, can be any valid semver or [major|minor|patch]');
     $this->addOption('link', null, InputOption::VALUE_REQUIRED, 'Optional link to the release\'s info page');
     $this->addOption('linkName', null, InputOption::VALUE_REQUIRED, 'Optional link name, release name will be used if not specified');
 }