protected function execute(InputInterface $input, OutputInterface $output)
{
$this->detectMagento($output, true);
if (!$this->initMagento()) {
return;
}
$table = array();
foreach ($this->getIndexerList() as $index) {
$table[] = array($index['code'], $index['status'], $index['last_runtime']);
}
$this->getHelper('table')->setHeaders(array('code', 'status', 'time'))->renderByFormat($output, $table, $input->getOption('format'));
}