#!/usr/bin/env php
<?php
/*
* Sakura Mahou
* Handles console interaction.
*/
namespace Sakura;
use Sakura\Console\Application;
use GetOptionKit\Exception\InvalidOptionException;
require_once 'sakura.php';
try {
(new Application)->run($argv);
} catch (InvalidOptionException $e) {
die($e->getMessage());
}