#!/usr/bin/env php
<?php
define('DS', DIRECTORY_SEPARATOR);
define('VERSION', '0.9.8');

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

$app = new Symfony\Component\Console\Application('October CMS Bootstrapper', VERSION);
$app->add(new \OFFLINE\Bootstrapper\October\Console\InitCommand);
$app->add(new \OFFLINE\Bootstrapper\October\Console\InstallCommand);
$app->add(new \OFFLINE\Bootstrapper\October\Console\UpdateCommand);
$app->add(new \OFFLINE\Bootstrapper\October\Console\PushCommand);
$app->run();
