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

declare(strict_types=1);

/*
 * This file is part of the littlesqx/aint-queue.
 *
 * (c) littlesqx <littlesqx@gmail.com>
 *
 * This source file is subject to the MIT license that is bundled.
 */


use Littlesqx\AintQueue\Console\Application;

$autoloadFiles = [
    __DIR__ . '/../../../autoload.php',
    __DIR__ . '/../autoload.php',
    __DIR__ . '/../vendor/autoload.php',
];

foreach ($autoloadFiles as $file) {
    if (file_exists($file)) {
        require_once $file;
        break;
    }
}

(new Application())->run();
