UnderCurrent/app/bin.php

15 lines
340 B
PHP
Raw Normal View History

2023-08-16 14:33:21 +02:00
#!/usr/bin/env php
<?php
use App\Kernel;
use Ardent\Undercurrent\Config\AppConfig;
2023-08-16 16:04:35 +02:00
use Ardent\Undercurrent\Console\Console;
require_once dirname(__DIR__) . '/vendor/autoload.php';
$kernel = new Kernel(new AppConfig(__DIR__ . '/../app'));
$container = $kernel->setup();
2023-08-16 16:04:35 +02:00
$console = new Console($container);
2023-08-17 15:41:25 +02:00
$console->run();