This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/mahou

28 lines
474 B
Text
Raw Normal View History

2016-02-20 10:34:01 +00:00
#!/usr/bin/env php
2016-02-19 21:49:00 +00:00
<?php
/*
* Sakura Mahou
* Get it, because Sakura is a magical girl in that one anime?
* Kill me.
*/
// Declare Namespace
namespace Sakura;
// Uses
use Sakura\Console\Application;
use GetOptionKit\Exception\InvalidOptionException;
// Include components
require_once 'sakura.php';
// Create an instance
$console = new Application;
2016-02-19 21:49:00 +00:00
// Attempt to run
try {
$console->run($argv);
} catch (InvalidOptionException $e) {
die($e->getMessage());
2016-02-19 21:49:00 +00:00
}