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

$paths = [
  __DIR__.'/../vendor/autoload.php', // locally
  __DIR__.'/../../../autoload.php' // dependency
];

foreach ($paths as $path) {
    if (file_exists($path)) {
        require_once $path;
        break;
    }
}

use Symfony\Component\Console\Application;

$application = new Application();

$application->add(new \Semilock\Command\GenerateCommand());

$application->run();