function __shell_print_var($shell, $var)
{
if (!$shell->has_semicolon) {
echo Prado::varDump($var);
}
}
include_once dirname(__FILE__) . '/3rdParty/PhpShell/php-shell-init.php';
}
//register action classes
PradoCommandLineInterpreter::getInstance()->addActionClass('PradoCommandLineCreateProject');
PradoCommandLineInterpreter::getInstance()->addActionClass('PradoCommandLineCreateTests');
PradoCommandLineInterpreter::getInstance()->addActionClass('PradoCommandLinePhpShell');
PradoCommandLineInterpreter::getInstance()->addActionClass('PradoCommandLineUnitTest');
PradoCommandLineInterpreter::getInstance()->addActionClass('PradoCommandLineActiveRecordGen');
//run it;
PradoCommandLineInterpreter::getInstance()->run($_SERVER['argv']);
/**************** END CONFIGURATION **********************/
/**
* PradoCommandLineInterpreter Class
*
* Command line interface, configures the action classes and dispatches the command actions.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
* @version $Id: prado-cli.php 2767 2010-02-15 09:24:37Z Christophe.Boulain $
* @since 3.0.5
*/
class PradoCommandLineInterpreter
{
/**
* @var array command action classes
*/