Safe Haskell | None |
---|---|
Language | Haskell2010 |
System.Etc.Internal.Resolver.Env
Synopsis
- resolveEnv :: ConfigSpec cmd -> IO Config
- resolveEnvPure :: ConfigSpec cmd -> [(Text, Text)] -> Config
Documentation
Arguments
:: 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
Arguments
:: 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.