/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('show')->setDescription('Show information about all joined tasks'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('run')->setDescription('Run all joined tasks'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('join')->setDescription('Create new task or update existing task')->addArgument('commandline', InputArgument::REQUIRED, 'The commandline to run with the task')->addOption('priority', null, InputOption::VALUE_REQUIRED, 'The task priority'); }
/** * Test that an exception will be thrown when the command was not initialized before. * * @expectedException \LogicException */ public function testConfigurationThrowsExceptionBeforeInitialization() { $command = new Command('command'); $command->getConfiguration(); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('purge')->setDescription('Remove all terminated tasks'); }