setName('_completion') ->setDescription('BASH completion hook.') ->setHelp(<<composer require stecman/symfony-console-completion END ); // Hide this command from listing if supported // Command::setHidden() was not available before Symfony 3.2.0 if (method_exists($this, 'setHidden')) { $this->setHidden(true); } } protected function execute(InputInterface $input, OutputInterface $output) { $output->writeln("Install optional stecman/symfony-console-completion"); } }