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

declare(strict_types=1);

define('LARAVEL_START', microtime(true));
define('BASE_PATH', __DIR__);

require BASE_PATH . '/bootstrap/autoload.php';

/** @var \Illuminate\Foundation\Application $app */
$app = require BASE_PATH . '/bootstrap/app.php';

/** @var \Illuminate\Contracts\Console\Kernel $kernel */
$kernel = $app->make(\Illuminate\Contracts\Console\Kernel::class);

$status = $app->handleCommand(
    new Symfony\Component\Console\Input\ArgvInput(),
    $kernel,
);

exit($status);
