1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-10-23 10:56:08 +02:00
Files
phpapprentice/src/App.php
2018-09-02 10:57:36 -05:00

23 lines
372 B
PHP

<?php
namespace Apprentice;
use Apprentice\Command;
use Symfony\Component\Console\Application;
class App
{
/**
* Runs cli application
*
* @return void
*/
public function main(): void
{
$cli = new Application;
$cli->add(new Command\BuildCommand);
$cli->add(new Command\ServerCommand);
$cli->run();
}
}