X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Cli.php;h=2169456ed6d913f6f48b5da577313db586361f8e;hp=e0fdc4ab3b745d1acfc4c3afc71f47c9ba3af31e;hb=a1a3ecba68d2fedabc8203e88b40759401d7472d;hpb=c4c1669b416bfff2f2464dce0587190b3f4eacc2 diff --git a/Cli.php b/Cli.php index e0fdc4ab..2169456e 100644 --- a/Cli.php +++ b/Cli.php @@ -1,50 +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 Builder/JsCompiler 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 -"; - - + 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