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


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


use GitInfo\Console\Command\ScanCommand;
use Symfony\Component\Console\Application;

$application = new Application();

// ... register commands
$application->add( $scan = new ScanCommand() );
$application->setDefaultCommand( $scan->getName(), true );
$application->run();
