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

Method summary

lib/command.js:2248–2252  ·  view source on GitHub ↗

* Set the summary. Used when listed as subcommand of parent. * * @param {string} [str] * @return {(string|Command)}

(str)

Source from the content-addressed store, hash-verified

2246 * @return {(string|Command)}
2247 */
2248 summary(str) {
2249 if (str === undefined) return this._summary;
2250 this._summary = str;
2251 return this;
2252 }
2253
2254 /**
2255 * Set an alias for the command.

Calls

no outgoing calls

Tested by

no test coverage detected