public static function create() {
		$app = new CLIApplication('Dachi', Kernel::getVersion(true));
		
		$commands = array(
			new \Dachi\Core\Console\Command\TestCommand(),
			new \Dachi\Core\Console\Command\CreateCommand(),
			new \Dachi\Core\Console\Command\DocumentCommand(),

			/** run under 'dachi:all' **/
			new \Dachi\Core\Console\Command\RouteCommand(),
			new \Dachi\Core\Console\Command\ModulesCommand(),
			new \Dachi\Core\Console\Command\ConfigCommand(),

			new \Dachi\Core\Console\Command\AllCommand()
			/** end run under 'dachi:all' **/
		);

		foreach($commands as $commandClass) {
			$app->add($commandClass);
		}

		$app->run();
	}
public static function create() {
		$app = new CLIApplication('Dachi', Kernel::getVersion(true));
		
		$commands = array(
			new \Dachi\Core\Console\Command\TestCommand(),
			new \Dachi\Core\Console\Command\CreateCommand(),
			new \Dachi\Core\Console\Command\DocumentCommand(),

			/** run under 'dachi:all' **/
			new \Dachi\Core\Console\Command\RouteCommand(),
			new \Dachi\Core\Console\Command\ModulesCommand(),
			new \Dachi\Core\Console\Command\ConfigCommand(),

			new \Dachi\Core\Console\Command\AllCommand()
			/** end run under 'dachi:all' **/
		);

		foreach($commands as $commandClass) {
			$app->add($commandClass);
		}

		$app->run();
	}
public static function create ( ) { $ app = new CLIApplication ( 'Dachi' , Kernel :: getVersion ( true ) ) ; $ commands = array ( new \ Dachi \ Core \ Console \ Command \ TestCommand ( ) , new \ Dachi \ Core \ Console \ Command \ CreateCommand ( ) , new \ Dachi \ Core \ Console \ Command \ DocumentCommand ( ) , /** run under 'dachi:all' **/ new \ Dachi \ Core \ Console \ Command \ RouteCommand ( ) , new \ Dachi \ Core \ Console \ Command \ ModulesCommand ( ) , new \ Dachi \ Core \ Console \ Command \ ConfigCommand ( ) , new \ Dachi \ Core \ Console \ Command \ AllCommand ( ) /** end run under 'dachi:all' **/ ) ; foreach ( $ commands as $ commandClass ) { $ app -> add ( $ commandClass ) ; } $ app -> run ( ) ; }
Create the CLI application
@return null
Create the CLI application