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

Method getOptionValueSource

lib/command.js:962–964  ·  view source on GitHub ↗

* Get source of option value. * Expected values are default | config | env | cli | implied * * @param {string} key * @return {string}

(key)

Source from the content-addressed store, hash-verified

960 */
961
962 getOptionValueSource(key) {
963 return this._optionValueSources[key];
964 }
965
966 /**
967 * Get source of option value. See also .optsWithGlobals().

Callers 8

_parseOptionsEnvMethod · 0.95
hasCustomOptionValueMethod · 0.95
getErrorMessageMethod · 0.95
index.test-d.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected