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

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

$app = new Symfony\Component\Console\Application('PHP Legal Licenses', '1.2.0');
$app->add(new Comcast\PhpLegalLicenses\Console\GenerateCommand);
$app->add(new Comcast\PhpLegalLicenses\Console\ShowCommand);
$app->run();
