console reserved for propel administration

This commit is contained in:
Simon Vieille 2015-02-17 02:02:09 +01:00
parent bad0eed060
commit c4871f6027
1 changed files with 15 additions and 0 deletions

15
app/propel/console Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env php
<?php
require_once __DIR__ . '/../../vendor/autoload.php';
use Deblan\Console\Application;
$app = new Application();
$app->chdir(__DIR__.'/../../');
$app->addCommandsPath('vendor/propel/propel/src/Propel/Generator/Command/', 'Propel\\Generator\\Command');
$app->loadCommands();
$app->run();;