protected function configure()
{
$this->setName('dev:module:observer:list')->addArgument('type', InputArgument::OPTIONAL, 'Observer type (global, admin, frontend, crontab)')->setDescription('Lists all registered observers')->addOption('format', null, InputOption::VALUE_OPTIONAL, 'Output Format. One of [' . implode(',', RendererFactory::getFormats()) . ']')->addOption('sort', null, InputOption::VALUE_NONE, 'Sort by event name ascending');
}