Implement commands

This commit is contained in:
Tim
2023-08-16 16:04:35 +02:00
parent 1ee5c1c992
commit f8d1c66934
17 changed files with 200 additions and 48 deletions

View File

@ -3,9 +3,12 @@
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();