Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('show')->setDescription('Show information about all joined tasks');
 }
Exemplo n.º 2
0
 /**
  * {@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');
 }
Exemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('run')->setDescription('Run all joined tasks');
 }
Exemplo n.º 4
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('purge')->setDescription('Remove all terminated tasks');
 }