liip/LiipMagentoBundle — Issue #8: Commands without a service container fail
Author: pulse00
Created: 2011-11-24 08:15:48+00:00
State: open

When executing commands which do subclass `ContainerAwareCommand`, the command fails due to the missing `require_once` of the Mage.php file resulting in a `Class Mage not found` exception.

I've created a very simple check in the `MagentoSessionStorage` (which causes the exception) for cli-usage before the call to `\Mage::getSingleton()`

If you think this is an appropriate fix, i can send you a PR.