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

declare(strict_types=1);

use Illuminate\Foundation\Application;
use App\Support\LifecycleTelemetry;
use Symfony\Component\Console\Input\ArgvInput;

define('LARAVEL_START', microtime(true));
define('FIXTURE_PROCESS_START_NS', hrtime(true));

require __DIR__.'/vendor/autoload.php';
LifecycleTelemetry::mark('process_start', FIXTURE_PROCESS_START_NS);

/** @var Application $app */
$app = require_once __DIR__.'/bootstrap/app.php';

exit($app->handleCommand(new ArgvInput()));
