Function
Static Public Summary | ||
public |
CrossConfEnv(argv: Array<Object>): Object Replace the value of the command line arguments in process.env, and run the process with a replaced arguments. |
|
public |
FilterKeys(): Array<String> Select the key of the value to be replaced from "process.env". |
|
public |
Replace the arguments in the value of "process.env". |
Static Public
public CrossConfEnv(argv: Array<Object>): Object source
import CrossConfEnv from 'cross-conf-env/src/lib/cross-conf-env.js'
Replace the value of the command line arguments in process.env, and run the process with a replaced arguments.
Test:
public FilterKeys(): Array<String> source
import {FilterKeys} from 'cross-conf-env/src/lib/cross-conf-env.js'
Select the key of the value to be replaced from "process.env".