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

use Aboks\PhpSrcDevtools\Application;
use Symfony\Component\Console\Input\ArgvInput;

if (is_file(__DIR__ . '/../../../autoload.php')) {
    require_once __DIR__ . '/../../../autoload.php';
} else {
    require_once __DIR__ . '/../vendor/autoload.php';
}

$input = new ArgvInput();
$input->setStream(STDIN);

$application = new Application();
$application->run($input);
