UnderCurrent/app/bin.php
2023-08-16 16:04:35 +02:00

14 lines
338 B
PHP
Executable File

#!/usr/bin/env php
<?php
use App\Kernel;
use Ardent\Undercurrent\Config\AppConfig;
use Ardent\Undercurrent\Console\Console;
require_once dirname(__DIR__) . '/vendor/autoload.php';
$kernel = new Kernel(new AppConfig(__DIR__ . '/../app'));
$container = $kernel->setup();
$console = new Console($container);
$console->run();