lightster/hodor

View on GitHub
bin/hodor.php

Summary

Maintainability
A
0 mins
Test Coverage
#!/usr/bin/env php
<?php

require_once __DIR__ . '/../bootstrap.php';

use Hodor\Command\DatabaseMigrateCommand;
use Hodor\Command\TestGenerateConfigCommand;
use Symfony\Component\Console\Application as ConsoleApp;

$app = require_once __DIR__ . '/../bootstrap.php';

use Hodor\Command\DaemonGenerateConfigCommand;

$console = new ConsoleApp(
    'hodor utilities'
);

$console->add(new DaemonGenerateConfigCommand());
$console->add(new DatabaseMigrateCommand());
$console->add(new TestGenerateConfigCommand());

$exit_code = $console->run();

exit($exit_code);