Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- resolveEnv :: ConfigSpec cmd -> IO Config
- resolveEnvPure :: ConfigSpec cmd -> [(Text, Text)] -> Config
Documentation
:: ConfigSpec cmd | Config Spec |
-> IO Config | returns Configuration Map with Environment Variables values filled in |
Gathers all OS Environment Variable values (env
entries) from the etc/spec
entries inside a ConfigSpec
:: ConfigSpec cmd | ConfigSpec |
-> [(Text, Text)] | Environment Variable tuples |
-> Config | returns Configuration Map with Environment Variables values filled in |
Gathers all OS Environment Variable values (env
entries) from the etc/spec
entries inside a ConfigSpec
. This version of the function gathers the input
from a list of tuples rather than the OS.