mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-28 10:08:56 +02:00
Tweaks on configs.
Added Init command.
This commit is contained in:
@@ -22,6 +22,9 @@ class Mage_Console
|
||||
|
||||
} else if ($this->_args[0] == 'add') {
|
||||
$this->_action = 'add';
|
||||
|
||||
} else if ($this->_args[0] == 'init') {
|
||||
$this->_action = 'init';
|
||||
}
|
||||
|
||||
foreach ($this->_args as $argument) {
|
||||
@@ -76,6 +79,11 @@ class Mage_Console
|
||||
$task->run($config);
|
||||
break;
|
||||
|
||||
case 'init';
|
||||
$task = new Mage_Task_Init;
|
||||
$task->run();
|
||||
break;
|
||||
|
||||
case 'add';
|
||||
switch ($this->_args[1]) {
|
||||
case 'environment':
|
||||
|
||||
Reference in New Issue
Block a user