#!/usr/bin/env php
<?php
declare(strict_types=1);

use Cundd\Stairtower\Bootstrap\Server;
use Cundd\Stairtower\Server\Exception\BootException;

require_once __DIR__ . '/_autoload.php';

try {
    (new Server())->execute($argv);
} catch (BootException $exception) {
    exit(BootException::EXIT_CODE);
}
