#!/usr/bin/env php 
<?php 
/* 
 * This file is part of the Cradlecore MVC package. 
 * (c) Alejandro Soto Gonzalez. <[email protected]> 
 * 
 * For the full copyright and license information, please view the LICENSE 
 * file that was distributed with this source code. 
 */ 
 
/* 
 * Include path - pear 
 * 
 */ 
$dir = dirname(__FILE__); 
 
 
/** 
 * Current path 
 */ 
$currentPath = getcwd(); 
 
 
/** 
 * Script path 
 */ 
$cradlecorePath =  dirname(__FILE__); 
 
 
/** 
 * To know if the current path is inside a project 
 */ 
$isProject = false; 
 
// project exists? 
if (file_exists('configuration/application.json') && file_exists('configuration/routes.json')) { 
    $isProject = true; 
} else { 
 
} 
 
echo "\n"; 
 
include($dir.'/lib/cradlecore/mvc/project/cli.php'); 
 
echo "\n\n"; 
 
 |