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

use Cfuentessalgado\Todo\App;

if (file_exists($localDir = dirname(__DIR__) . '/vendor/autoload.php')) {
    echo $localDir;
    require_once $localDir;
}

if (file_exists($globalDir = getenv('HOME') . '/.composer/vendor/autoload.php')) {
    require_once $globalDir;
}



$app = new App();
$app->run();
