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

Method passThroughOptions

lib/command.js:866–870  ·  view source on GitHub ↗

* Pass through options that come after command-arguments rather than treat them as command-options, * so actual command-options come before command-arguments. Turning this on for a subcommand requires * positional options to have been enabled on the program (parent commands). * The default

(passThrough = true)

Source from the content-addressed store, hash-verified

864 * @return {Command} `this` command for chaining
865 */
866 passThroughOptions(passThrough = true) {
867 this._passThroughOptions = !!passThrough;
868 this._checkForBrokenPassThrough();
869 return this;
870 }
871
872 /**
873 * @private

Callers 5

makeProgramFunction · 0.95
index.test-d.tsFile · 0.80

Calls 1

Tested by 1

makeProgramFunction · 0.76