livecoding-console/bin/console

15 lines
347 B
PHP
Executable file

#!/usr/bin/env php
<?php
require_once __DIR__ . '/../vendor/autoload.php';
use Deblan\Application;
use Deblan\ConfigLoader;
$app = new Application('LiveCoding CLI', '1');
$app->chdir(__DIR__.'/../');
$app->addCommandsPath('src/Deblan/Command/', 'Deblan\\Command');
$app->loadCommands();
$app->setConfigLoader(new ConfigLoader());
$app->run();