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

if (file_exists(__DIR__ . '/vendor/autoload.php')) require __DIR__ .'/vendor/autoload.php';

use Console\ServeCommand;
use Console\ThinkCommand;
use Symfony\Component\Console\Application;

$app = new Application(' ____            
 |  _ \           
 | |_) | ___  ___ 
 |  _ < / _ \/ _ \
 | |_) |  __/  __/
 |____/ \___|\___|', 'v1.0.0');
$app -> add(new ServeCommand());
$app -> add(new ThinkCommand());
$app -> run();