loicfrering/losolib — Issue #9: using LosoLib from command line - possible?
Author: luebbert42
Created: 2012-01-08 17:11:25+00:00
State: open

Hi,

is it possible to use LosoLib in command line scripts?

At the moment my script is a copy of index.php, ending with
$application->bootstrap();
and then some domain specific code.

It does not work because the DI container is not loaded and I can't call run() from command line.

Any hint on this? :-)