MCPcopy
hub / github.com/mozilla/web-ext / checkRequiredArguments

Method checkRequiredArguments

src/program.js:208–213  ·  view source on GitHub ↗
(adjustedArgv)

Source from the content-addressed store, hash-verified

206 // must call checkRequiredArguments() to ensure that required parameters are
207 // defined (in the CLI or in a config file).
208 checkRequiredArguments(adjustedArgv) {
209 const validationInstance = this.yargs
210 .getInternalMethods()
211 .getValidationInstance();
212 validationInstance.requiredArguments(adjustedArgv, this.demandedOptions);
213 }
214
215 // Remove WEB_EXT_* environment vars that are not a global cli options
216 // or an option supported by the current command (See #793).

Callers 1

executeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected