<NME> test.php
<BEF> ADDFILE
<MSG> add console script template

<DFF> @@ -0,0 +1,9 @@
+<?php
+error_reporting(E_ALL & ~E_NOTICE);
+define('APP_PATH', dirname(__FILE__) . '/..');
+define('IPHP_PATH', '/data/lib/iphp');
+require_once(IPHP_PATH . '/loader.php');
+App::init();
+
+// do something...
+

add console script template