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

Method configureHelp

lib/command.js:216–221  ·  view source on GitHub ↗

* You can customise the help by overriding Help properties using configureHelp(), * or with a subclass of Help by overriding createHelp(). * * @param {object} [configuration] - configuration options * @return {(Command | object)} `this` command for chaining, or stored configuration

(configuration)

Source from the content-addressed store, hash-verified

214 */
215
216 configureHelp(configuration) {
217 if (configuration === undefined) return this._helpConfiguration;
218
219 this._helpConfiguration = configuration;
220 return this;
221 }
222
223 /**
224 * The default output goes to stdout and stderr. You can customise this for special

Calls

no outgoing calls

Tested by 2

makeProgramFunction · 0.76
createHelpMethod · 0.64