Cli.php
[Pman.Core] / Cli.php
1 <?php
2 /*
3
4 Help file for cli in this directory.
5 */
6
7
8 class Pman_Core_Cli
9 {
10     
11     function getAuth()
12     {
13         return false;
14     }
15     function help($cli)
16     {
17         echo "
18
19     $cli Core/RunGenerator
20
21     Creates ALL database tables
22     - does not change files, just shows you want would happen
23         
24         
25     $cli Core/RunGenerator/COMPONENT
26
27     Runs the generator for a COMPONENT (NOTE - will update that COMPONENT sql)
28     - does not change files, just shows you want would happen
29
30     
31     $cli Core/RunGenerator/COMPONENT pman.ini,COMPONENT.readers.js,...
32
33     Runs the generator for a project (NOTE - runs all the SQL updates)
34     - Changes the files.
35
36  
37 ================================    
38
39     $cli Core/JsCompile   build PROJECT
40      
41     Runs the javascript compiler - merging all the JS files so the load faster.
42     Note: cfg option Pman_Builder['jspacker'] must be set to location of jstoolkit code 
43
44 ================================    
45
46     $cli Core/Notify
47     
48     Runs the notification tool - should be run every minute ideally.
49     Sends out emails to anyone in the notification list.
50     
51     /etc/cron.d/PmanNotify
52      * *  * * *     www-data     /usr/bin/php /home/gitlive/web.mtrack/admin.php  Core/Notify > /dev/null
53     
54         
55 ";
56
57
58     }
59     
60     
61 }