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

20 lines
320 B
Text
Raw Permalink 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
2016-12-04 14:55:53 +00:00
* Handles console interaction.
2016-02-19 21:49:00 +00:00
*/
namespace Sakura;
use Sakura\Console\Application;
use GetOptionKit\Exception\InvalidOptionException;
require_once 'sakura.php';
try {
2016-12-04 14:55:53 +00:00
(new Application)->run($argv);
} catch (InvalidOptionException $e) {
die($e->getMessage());
2016-02-19 21:49:00 +00:00
}