app/console
changeset 0 7f95f8617b0b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/console	Sat Sep 24 15:40:41 2011 +0200
@@ -0,0 +1,16 @@
+#!/usr/bin/env php
+<?php
+
+require_once __DIR__.'/bootstrap.php.cache';
+require_once __DIR__.'/AppKernel.php';
+
+use Symfony\Bundle\FrameworkBundle\Console\Application;
+use Symfony\Component\Console\Input\ArgvInput;
+
+$input = new ArgvInput();
+$env = $input->getParameterOption(array('--env', '-e'), getenv('SYMFONY_ENV') ?: 'dev');
+$debug = !$input->hasParameterOption(array('--no-debug', ''));
+
+$kernel = new AppKernel($env, $debug);
+$application = new Application($kernel);
+$application->run();