mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-27 01:38:57 +02:00
Changes on console feedback colors. Example of User Tasks.
This commit is contained in:
+8
-7
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user