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

Method getCmdLineArg

lib/util.js:1037–1039  ·  view source on GitHub ↗

* Get Command Line Arguments * * * This method allows you to retrieve the value of the specified command line argument. * * * * The argument is case sensitive, and must be of the form '--ARG_NAME=value' * * * @method getCmdLineArg * @param {s

(searchFor)

Source from the content-addressed store, hash-verified

1035 * @return {false|string} false if the argument was not found, the argument value if found
1036 */
1037 getCmdLineArg(searchFor) {
1038 return this.env.getCmdLineArg(searchFor);
1039 }
1040
1041 /**
1042 * <p>Get a Config Environment Variable Value</p>

Callers

nothing calls this directly

Calls 1

getCmdLineArgMethod · 0.45

Tested by

no test coverage detected