* Set the description. * * @param {string} [str] * @param {object} [argsDescription] * @return {(string|Command)}
(str, argsDescription)
| 2230 | * @return {(string|Command)} |
| 2231 | */ |
| 2232 | description(str, argsDescription) { |
| 2233 | if (str === undefined && argsDescription === undefined) |
| 2234 | return this._description; |
| 2235 | this._description = str; |
| 2236 | if (argsDescription) { |
| 2237 | this._argsDescription = argsDescription; |
| 2238 | } |
| 2239 | return this; |
| 2240 | } |
| 2241 | |
| 2242 | /** |
| 2243 | * Set the summary. Used when listed as subcommand of parent. |
no outgoing calls