* Get the subcommand summary to show in the list of subcommands. * (Fallback to description for backwards compatibility.) * * @param {Command} cmd * @returns {string}
(cmd)
| 312 | */ |
| 313 | |
| 314 | subcommandDescription(cmd) { |
| 315 | // @ts-ignore: because overloaded return type |
| 316 | return cmd.summary() || cmd.description(); |
| 317 | } |
| 318 | |
| 319 | /** |
| 320 | * Get the option description to show in the list of options. |
no test coverage detected