X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Cli.php;h=2169456ed6d913f6f48b5da577313db586361f8e;hp=a0fe26489dab1ca421168620ae507817dc3eb999;hb=a1a3ecba68d2fedabc8203e88b40759401d7472d;hpb=c22ce6db1cd75f8ea1ff13a706883de743ffdd71 diff --git a/Cli.php b/Cli.php index a0fe2648..2169456e 100644 --- a/Cli.php +++ b/Cli.php @@ -1,57 +1,31 @@ cli) { + die("CLI ONLY"); + } } - function help($cli) - { - echo " - - $cli Core/RunGenerator - - Creates ALL database tables - - does not change files, just shows you want would happen - - - $cli Core/RunGenerator/COMPONENT - - Runs the generator for a COMPONENT (NOTE - will update that COMPONENT sql) - - does not change files, just shows you want would happen - - $cli Core/RunGenerator/COMPONENT pman.ini,COMPONENT.readers.js,... - - Runs the generator for a project (NOTE - runs all the SQL updates) - - Changes the files. - - -================================ - - $cli Core/JsCompile build PROJECT - - Runs the javascript compiler - merging all the JS files so the load faster. - Note: cfg option Pman_Builder['jspacker'] must be set to location of jstoolkit code - -================================ - - $cli Core/Notify - Runs the notification tool - should be run every minute ideally. - Sends out emails to anyone in the notification list. - -"; - - + function get($v, $opts = Array()) + { + die("this is only used as a base class for Cli based commands - extend to use."); + } + + function output() + { + die("CLI - output exit\n"); } - - } \ No newline at end of file