5 * Contains \Drupal\Console\Core\CompleteCommand.
8 namespace Drupal\Console\Core\Command;
10 use Symfony\Component\Console\Input\InputInterface;
11 use Symfony\Component\Console\Output\OutputInterface;
13 class CompleteCommand extends Command
18 protected function configure()
22 ->setDescription($this->trans('commands.complete.description'));
28 protected function execute(InputInterface $input, OutputInterface $output)
30 $commands = array_keys($this->getApplication()->all());
32 $output->writeln($commands);