Add sample config for Magallanes' built-in commands

This commit is contained in:
Jakub Turek
2015-05-16 14:06:19 +02:00
parent c49d36a91a
commit 5db9905ed4
13 changed files with 175 additions and 0 deletions
+11
View File
@@ -23,6 +23,17 @@ use Exception;
*/
class ListCommand extends AbstractCommand
{
public function __construct()
{
$this->setName('List command')
->setHelpMessage('List available configurations. For now, only environments listing available')
->setSyntaxMessage('mage list [environments]')
->addUsageExample(
'mage list environments',
'List currently configured environments'
);
}
/**
* Command for Listing Configuration Elements
* @see \Mage\Command\AbstractCommand::run()