MCPcopy
hub / github.com/tj/commander.js / commandDescription

Method commandDescription

lib/help.js:301–304  ·  view source on GitHub ↗

* Get the description for the command. * * @param {Command} cmd * @returns {string}

(cmd)

Source from the content-addressed store, hash-verified

299 */
300
301 commandDescription(cmd) {
302 // @ts-ignore: because overloaded return type
303 return cmd.description();
304 }
305
306 /**
307 * Get the subcommand summary to show in the list of subcommands.

Callers 2

formatHelpMethod · 0.80
index.test-d.tsFile · 0.80

Calls 1

descriptionMethod · 0.80

Tested by

no test coverage detected