#!/usr/bin/env php
<?php
if (file_exists(__DIR__.'/../../../autoload.php')) {
    require __DIR__.'/../../../autoload.php';
} else {
    require __DIR__.'/../vendor/autoload.php';
}

$application = new Symfony\Component\Console\Application('Grelo Installer', '0.1');
$application->add(new Grelo\Installer\Console\NewCommand);

try {
    $application->run();
} catch (Exception $e) {
    dump('Se ha producido un error: ' . $e->getMessage());
}
