versa/versa

22 lines
497 B
PHP
Executable file

#!/usr/bin/env php
<?php
require __DIR__.'/vendor/autoload.php';
use App\Console\Command\BuildCommand;
use App\Console\Command\InstallCommand;
use App\Console\Command\RunCommand;
use App\Console\Command\TestCommand;
use Symfony\Component\Console\Application;
$application = new Application();
$application->addCommands([
new BuildCommand(name: 'build'),
new InstallCommand(name: 'install'),
new RunCommand(name: 'run'),
new TestCommand(name: 'test'),
]);
$application->run();