#!/usr/bin/env php
<?php
/**
 * Part of Windwalker project.
 *
 * @copyright  Copyright (C) 2011 - 2014 SMS Taiwan, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

$autoload = __DIR__ . '/../vendor/autoload.php';

if (!is_file($autoload))
{
	exit('Please run `composer install` First.');
}

include_once $autoload;

include_once __DIR__ . '/../etc/define.php';

$console = new Windwalker\Console\Application;

define('WINDWALKER_DEBUG', $console->get('system.debug'));

$console->execute();
