Example #1
0
 /**
  * @inheritDoc
  */
 protected function configure()
 {
     //@formatter:off
     $this->setName('run')->setDescription('Runs the application');
     //@formatter:on
     parent::configure();
 }
 /**
  * @inheritDoc
  */
 protected function configure()
 {
     //@formatter:off
     $this->setName('test-rule')->setDescription('Tests rule matching')->setHelp('Regular expressions are pain in the ass. This command provides easy way to simulate input on any rule.')->addOption('rule-name', 'r', InputOption::VALUE_REQUIRED, 'Rule name to test against', self::RULE_ANY)->addArgument('names', InputArgument::IS_ARRAY, 'Name(s) to test');
     //@formatter:on
     parent::configure();
 }