protected function configure()
{
$this->setName('config:get')->setDescription('Get a core config item')->setHelp(<<<EOT
If <info>path</info> is not set, all available config items will be listed.
The <info>path</info> may contain wildcards (*).
If <info>path</info> ends with a trailing slash, all child items will be listed. E.g.
config:get web/
is the same as
config:get web/*
EOT
)->addArgument('path', InputArgument::OPTIONAL, 'The config path')->addOption('scope', null, InputOption::VALUE_REQUIRED, 'The config value\'s scope (default, websites, stores)')->addOption('scope-id', null, InputOption::VALUE_REQUIRED, 'The config value\'s scope ID')->addOption('decrypt', null, InputOption::VALUE_NONE, 'Decrypt the config value using local.xml\'s crypt key')->addOption('update-script', null, InputOption::VALUE_NONE, 'Output as update script lines')->addOption('magerun-script', null, InputOption::VALUE_NONE, 'Output for usage with config:set')->addOption('format', null, InputOption::VALUE_OPTIONAL, 'Output Format. One of [' . implode(',', RendererFactory::getFormats()) . ']');
$help = <<<HELP
If path is not set, all available config items will be listed. path may contain wildcards (*)
HELP;
$this->setHelp($help);
}