You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- require __DIR__ . '/vendor/autoload.php';
-
- $app = \Framework\App::getInstance();
- $app->bind('paths.base', fn() => __DIR__);
- $app->prepare();
-
- $console = new \Symfony\Component\Console\Application();
-
- $commands = require __DIR__ . '/app/commands.php';
-
- foreach ($commands as $command) {
- $console->add(new $command);
- }
-
- $console->run();
|