1: <?php
2: 3: 4: 5: 6:
7:
8: namespace Peg\Custom\Command;
9:
10: use Peg\Custom\Application;
11:
12: 13: 14:
15: class Help extends \Peg\Custom\CommandLine\Command
16: {
17:
18: public function __construct()
19: {
20: parent::__construct("help");
21:
22: $this->description = t("Display a help message for a specific command.");
23:
24: $this->description .= "\n" . t("Example:") . " " .
25: Application::GetCLIParser()->application_name . " help <command>"
26: ;
27:
28: $this->RegisterAction(new Action\Help());
29: }
30:
31: }