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