mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	
		
			
	
	
		
			22 lines
		
	
	
		
			510 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			22 lines
		
	
	
		
			510 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| 
								 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								# mage deploy to:production
							 | 
						||
| 
								 | 
							
								# mage update
							 | 
						||
| 
								 | 
							
								# mage up
							 | 
						||
| 
								 | 
							
								# mage task:init to:production 
							 | 
						||
| 
								 | 
							
								# mage run:full-deployment to:production
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# full-deployment = update, deploy to:production
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								$baseDir = dirname(dirname(__FILE__));
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								require_once $baseDir . '/Magallanes/Autoload.php';
							 | 
						||
| 
								 | 
							
								spl_autoload_register(array('Magallanes_Autoload', 'autoload'));
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Magallanes_Console::output('Begining Magallanes' . PHP_EOL . PHP_EOL);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								$console = new Magallanes_Console;
							 | 
						||
| 
								 | 
							
								$console->setArgs($argv);
							 | 
						||
| 
								 | 
							
								$console->parse();
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								$console->run();
							 |