#!/usr/bin/env php
<?php
set_time_limit(0);

$vendor = __DIR__;
while (!file_exists($vendor.'/vendor')) {
    $vendor = dirname($vendor);
}
require $vendor.'/vendor/autoload.php';

$command = new \Forikal\Example\Command\HelloWorldCommand();
$application = new \Symfony\Component\Console\Application();
$application->add($command);
$application->setDefaultCommand($command->getName(), true);
$application->run();