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

set_time_limit(0);

if (file_exists($autoload = __DIR__ . '/../vendor/autoload.php')) {
    require_once $autoload;
} elseif (file_exists($autoload = __DIR__ . '/../../../autoload.php')) {
    require_once $autoload;
} else {
    throw new \Exception('Cannot autoload files.');
}

use CSD\PhpDocToReturn\Command\Application;

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