Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
12 | public function mainAction() |
||
13 | { |
||
14 | // 'green' => "\033[0;32m(%s)\033[0m", |
||
15 | // 'red' => "\033[0;31m(%s)\033[0m", |
||
16 | $year = date('Y'); |
||
17 | $output = <<<EOF |
||
18 | ****************************************************** |
||
19 | Phalcon Team | (C) {$year} |
||
20 | ****************************************************** |
||
21 | |||
22 | Usage: runCli <command> |
||
23 | |||
24 | --help \e[0;32m(safe)\e[0m shows the help screen/available commands |
||
25 | --clear-cache \e[0;32m(safe)\e[0m clears the cache folders |
||
26 | |||
27 | EOF; |
||
28 | |||
29 | echo $output; |
||
30 | } |
||
32 |