Exemple #1
0
 /**
  * Execute the command.
  *
  * @param  \Symfony\Component\Console\Input\InputInterface  $input
  * @param  \Symfony\Component\Console\Output\OutputInterface  $output
  * @return void
  */
 public function execute(InputInterface $input, OutputInterface $output)
 {
     $question = new Question("<fg=cyan>What title should be assigned to your bug report?</fg=cyan> ");
     $title = $this->getHelper('question')->ask($input, $output, $question);
     $branch = $input->getOption('dev') ? 'develop' : 'master';
     $this->action->execute($input->getArgument('name'), $branch, $title);
 }
Exemple #2
0
 /**
  * Execute the command.
  *
  * @param  \Symfony\Component\Console\Input\InputInterface  $input
  * @param  \Symfony\Component\Console\Output\OutputInterface  $output
  * @return void
  */
 public function execute(InputInterface $input, OutputInterface $output)
 {
     $this->action->execute($input->getOption('dev') ? 'develop' : 'master');
 }
Exemple #3
0
 /**
  * Execute the command.
  *
  * @param  \Symfony\Component\Console\Input\InputInterface  $input
  * @param  \Symfony\Component\Console\Output\OutputInterface  $output
  * @return void
  */
 public function execute(InputInterface $input, OutputInterface $output)
 {
     $this->action->execute($input->getArgument('id'));
 }