#!/usr/bin/env php
<?php

use Symfony\Component\EventDispatcher\Event;

try {
    require __DIR__.'/app/common.php';
    $container['dispatcher']->dispatch('app.bootstrap', new Event);
    $container['cli']->run();
} catch (Exception $e) {
    echo $e->getMessage().PHP_EOL;
    exit(255);
}
