protected function execute(InputInterface $input, OutputInterface $output)
{
$this->detectMagento($output, true);
$this->initMagento();
foreach (\Mage::app()->getStores() as $store) {
$table[$store->getId()] = array($store->getId(), $store->getCode());
}
ksort($table);
$this->getHelper('table')->setHeaders(array('id', 'code'))->renderByFormat($output, $table, $input->getOption('format'));
}