Cli.php
authorAlan Knowles <alan@akbkhome.com>
Mon, 6 Sep 2010 05:42:39 +0000 (13:42 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 6 Sep 2010 05:42:39 +0000 (13:42 +0800)
Cli.php

diff --git a/Cli.php b/Cli.php
index e69de29..701b5ef 100644 (file)
--- a/Cli.php
+++ b/Cli.php
@@ -0,0 +1,42 @@
+<?php
+/*
+
+Help file for cli in this directory.
+*/
+
+
+class Pman_Core_Cli
+{
+    
+    function getAuth()
+    {
+        return false;
+    }
+    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.
+
+";
+
+
+    }
+    
+    
+}
\ No newline at end of file