mirror of
https://github.com/opdavies/versa.git
synced 2025-03-13 05:26:56 +00:00
22 lines
497 B
PHP
Executable file
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();
|