Boot CLI application before run

This commit is contained in:
Romain Neutron
2014-01-06 14:55:29 +01:00
parent 3b437c83c4
commit 09596e1451

View File

@@ -65,6 +65,8 @@ class CLI extends Application
*/ */
public function runCLI($interactive = false) public function runCLI($interactive = false)
{ {
$this->boot();
$app = $this['console']; $app = $this['console'];
if ($interactive) { if ($interactive) {
$app = new Console\Shell($app); $app = new Console\Shell($app);