Changes on console feedback colors. Example of User Tasks.

This commit is contained in:
Andrs Montaez
2011-11-23 09:38:52 -02:00
parent d6166a674d
commit e5f0fe9cfa
13 changed files with 174 additions and 93 deletions
+8 -7
View File
@@ -1,5 +1,5 @@
<?php
# mage install
# sudo mage install
# mage init
# mage config add environment [production]
@@ -8,22 +8,23 @@
# mage config svn svn://example.com/repo
# mage deploy to:production
# mage update
# mage up
# mage task:init to:production
# mage run:full-deployment to:production
# mage task:deployment/rsync to:production
# full-deployment = update, deploy to:production
$baseDir = dirname(dirname(__FILE__));
require_once $baseDir . '/Mage/Autoload.php';
spl_autoload_register(array('Mage_Autoload', 'autoload'));
Mage_Console::output('Begining Magallanes' . PHP_EOL . PHP_EOL);
Mage_Console::output('Starting <blue>Magallanes</blue>', 0);
Mage_Console::output('');
$console = new Mage_Console;
$console->setArgs($argv);
$console->parse();
$console->run();
Mage_Console::output('Finished <blue>Magallanes</blue>', 0);