Location: PHPKode > projects > GnomePHP > peec-GnomePHP-b5a360b/gnome.php
<?php 
use Symfony\Component\Console\Application;

// Define GnomePHP FW path.
define('GNOME_FW_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'gnomephp');

require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'gnomephp' . DIRECTORY_SEPARATOR . 'bootstrap.php';




\gnomephp\doctrine\Doctrine::loadAutoloader();

$cli = new Application('GnomePHP CommandLine interface.', '0.1');
$cli->setCatchExceptions(true);
$cli->addCommands(array(
	new \gnomephp\commands\CreateAppCommand(),
	new \gnomephp\commands\InfoGnomeCommand(),
));
$cli->run();
Return current item: GnomePHP