add possibility to render a block on command output

This commit is contained in:
Manuel Raynaud
2013-07-11 12:54:38 +02:00
parent 6baac9e36c
commit 6fa815d174
3 changed files with 45 additions and 1 deletions

3
Thelia
View File

@@ -7,6 +7,7 @@ require __DIR__ . '/core/bootstrap.php';
use Thelia\Core\Thelia;
use Thelia\Core\Application;
use Thelia\Command\Output\TheliaConsoleOutput;
use Symfony\Component\Console\Input\ArgvInput;
$input = new ArgvInput();
@@ -15,4 +16,4 @@ $debug = getenv('THELIA_DEBUG') !== '0' && !$input->hasParameterOption(array('--
$thelia = new Thelia($env, $debug);
$application = new Application($thelia);
$application->run($input);
$application->run($input, new TheliaConsoleOutput());