mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-06 09:28:57 +02:00
Add sample config for Magallanes' built-in commands
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user