2016-03-15 16:28:38 +01:00
|
|
|
#!/usr/bin/php
|
2016-03-29 14:12:33 +02:00
|
|
|
<?php
|
|
|
|
require __DIR__ . '/vendor/autoload.php';
|
|
|
|
|
2016-03-15 16:28:38 +01:00
|
|
|
define('DOCUMENT_ROOT', dirname(__FILE__));
|
|
|
|
|
2016-03-29 14:12:33 +02:00
|
|
|
use Movim\Bootstrap;
|
2016-04-14 13:55:24 +02:00
|
|
|
use Movim\Console\DatabaseCommand;
|
|
|
|
use Movim\Console\ConfigCommand;
|
|
|
|
use Symfony\Component\Console\Application;
|
|
|
|
|
2016-03-15 16:28:38 +01:00
|
|
|
$bootstrap = new Bootstrap();
|
|
|
|
$bootstrap->boot();
|
|
|
|
|
2016-04-14 13:55:24 +02:00
|
|
|
$application = new Application;
|
|
|
|
$application->add(new DatabaseCommand);
|
|
|
|
$application->add(new ConfigCommand);
|
|
|
|
$application->run();
|
2016-03-15 16:28:38 +01:00
|
|
|
|