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;
12 use Symfony\Component\Console\Command\Command;
13 use Drupal\Console\Core\Command\Shared\CommandTrait;
15 class CompleteCommand extends Command
22 protected function configure()
26 ->setDescription($this->trans('commands.complete.description'));
32 protected function execute(InputInterface $input, OutputInterface $output)
34 $commands = array_keys($this->getApplication()->all());
36 $output->writeln($commands);