Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 protected function execute(Input $input, Output $output)
 {
     if (null === $this->command) {
         $this->command = $this->getConsole()->find($input->getArgument('command_name'));
     }
     $helper = new DescriptorHelper();
     $helper->describe($output, $this->command, ['raw_text' => $input->getOption('raw')]);
     $this->command = null;
 }
Ejemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 protected function execute(Input $input, Output $output)
 {
     $helper = new DescriptorHelper();
     $helper->describe($output, $this->getConsole(), ['raw_text' => $input->getOption('raw'), 'namespace' => $input->getArgument('namespace')]);
 }