merge-options + envcfg-import-deep-pmb
This module exports one function:
Merges all your config
s using merge-options
,
then imports env vars by applying envcfg-import-deep-pmb
with
options from opt
and forced { inplace: true }
.
Returns the resulting config.
-
Pro Tip: Use the
ifPrefixProp
option fromenvcfg-import-deep-pmb
to easily have your CLI config decide which environment config to accept.
- Needs more/better tests and docs.
ISC