setName('indexer:info')->setDescription('Shows allowed Indexers'); } /** * {@inheritdoc} */ protected function execute(InputInterface $input, OutputInterface $output) { $indexers = $this->getAllIndexers(); foreach ($indexers as $indexer) { $output->writeln(sprintf('%-40s %s', $indexer->getId(), $indexer->getTitle())); } } }