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

use Neptune\Console\SetupApplication;
use Neptune\Console\OutputFormatter;
use Symfony\Component\Console\Output\ConsoleOutput;

foreach ([__DIR__.'/../../../autoload.php', __DIR__.'/../vendor/autoload.php'] as $file) {
    if (file_exists($file)) {
        include $file;
        break;
    }
}

$app = new SetupApplication('Neptune installer');
$output = new ConsoleOutput();
$output->setFormatter(new OutputFormatter());
$app->run(null, $output);
