(config-file)
Loads config from a file. Path is taken either from command line -c flag,
FULL_CONFIG env variable, or the default dev.yaml
is used.
Loads config from a file. Path is taken either from command line -c flag, FULL_CONFIG env variable, or the default `dev.yaml` is used.
(opt sel & {:keys [default mapper] :or {default :full.core.config/undefined}})
Yields a lazy configuration value, readable by dereferencing with @. Will throw an exception when no value is present in configuration and no default value is specified.
Parameters:
sel - a keyword or vector of keywords representing path in config file
:default - default value. Use nil
for optional configuration.
:mapper - function to apply to configuration value before returning
Yields a lazy configuration value, readable by dereferencing with @. Will throw an exception when no value is present in configuration and no default value is specified. Parameters: sel - a keyword or vector of keywords representing path in config file :default - default value. Use `nil` for optional configuration. :mapper - function to apply to configuration value before returning
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close