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

Method helpGroup

lib/command.js:2358–2362  ·  view source on GitHub ↗

* Set/get the help group heading for this subcommand in parent command's help. * * @param {string} [heading] * @return {Command | string}

(heading)

Source from the content-addressed store, hash-verified

2356 */
2357
2358 helpGroup(heading) {
2359 if (heading === undefined) return this._helpGroupHeading ?? '';
2360 this._helpGroupHeading = heading;
2361 return this;
2362 }
2363
2364 /**
2365 * Set/get the default help group heading for subcommands added to this command.

Callers 2

_initOptionGroupMethod · 0.45
_initCommandGroupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected