MCPcopy Create free account
hub / github.com/node-config/node-config / initParam

Method initParam

lib/util.js:1018–1020  ·  view source on GitHub ↗

* Initialize a parameter from the command line or process environment * * * This method looks for the parameter from the command line in the format * --PARAMETER=VALUE, then from the process environment, then from the * default specified as an argument. * * *

(paramName, defaultValue)

Source from the content-addressed store, hash-verified

1016 * @return {T} The found value, or default value
1017 */
1018 initParam(paramName, defaultValue) {
1019 return this.env.initParam(paramName, defaultValue);
1020 }
1021
1022 /**
1023 * <p>Get Command Line Arguments</p>

Callers

nothing calls this directly

Calls 1

initParamMethod · 0.45

Tested by

no test coverage detected