#!/usr/bin/env php
<?php
/**
 * Highlighter
 *
 * Copyright (C) 2016, Some right reserved.
 *
 * @author Kacper "Kadet" Donat <kacper@kadet.net>
 *
 * Contact with author:
 * Xmpp: me@kadet.net
 * E-mail: contact@kadet.net
 *
 * From Kadet with love.
 *
 * Just Simple CLI App implementation, subject to change.
 */


// For composer global instance
if (file_exists(__DIR__ . '/../../../autoload.php')) {
    /** @noinspection PhpIncludeInspection */ // Bug, we checked that it exist.
    require __DIR__ . '/../../../autoload.php';
} else {
    require __DIR__.'/../vendor/autoload.php';
}

$app = new \Kadet\Highlighter\bin\Application();
$app->run();

exit;
