* Sets the help text for the command. * * This text is displayed when: * - the `--help` flag is passed to the command, or * - the `help ` command is used. * * @param t the human-readable help text. * @return the command, for chaining.
(t: string)
| 135 | * @return the command, for chaining. |
| 136 | */ |
| 137 | help(t: string): Command { |
| 138 | this.helpText = t; |
| 139 | return this; |
| 140 | } |
| 141 | |
| 142 | /** |
| 143 | * Sets the function to be run for the command. |
no outgoing calls
no test coverage detected