#!/usr/bin/env php
<?php
if( php_sapi_name() !== 'cli' )
    die("Meant to be run from command line" . PHP_EOL);

define('WPMU_PLUGIN_URL', '/mu-plugins');
define('TYPEROCKET_GALAXY', true);

if(is_file(__DIR__ . '/galaxy-config.php'))
    require __DIR__ . '/galaxy-config.php';

if(!defined('TYPEROCKET_GALAXY_FILE'))
    define('TYPEROCKET_GALAXY_FILE', __FILE__);

if(!defined('TYPEROCKET_GALAXY_PATH'))
    define('TYPEROCKET_GALAXY_PATH', __DIR__);

require TYPEROCKET_GALAXY_PATH . '/init.php';

new \TypeRocket\Console\GalaxyConsoleLauncher();