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.

18 line
346B

  1. <?php
  2. require __DIR__ . '/vendor/autoload.php';
  3. $app = \Framework\App::getInstance();
  4. $app->bind('paths.base', fn() => __DIR__);
  5. $app->prepare();
  6. $console = new \Symfony\Component\Console\Application();
  7. $commands = require __DIR__ . '/app/commands.php';
  8. foreach ($commands as $command) {
  9. $console->add(new $command);
  10. }
  11. $console->run();

Powered by TurnKey Linux.