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

use Apiato\Installer\Commands\NewCommand;
use Symfony\Component\Console\Application;

if (file_exists(__DIR__.'/../../../autoload.php')) {
    require __DIR__.'/../../../autoload.php';
} else {
    require __DIR__.'/../vendor/autoload.php';
}

$application = new Application('Apiato Installer', '0.1.4');

# add our commands
$application->add(new NewCommand());

$application->run();
