Liking cljdoc? Tell your friends :D

edn-env.core


default-config-fileclj

source

default-optionsclj

source

env-varsclj

(env-vars)
(env-vars options)

Parses env vars into a map of paths -> edn-parsed values.

Parses env vars into a map of paths -> edn-parsed values.
sourceraw docstring

load-configclj

(load-config)
(load-config options)
(load-config file options)

Loads a resource and overlays the environment ontop.

Loads a resource and overlays the environment ontop.
sourceraw docstring

overlayclj

(overlay config)
(overlay config options)

Overlays env vars onto the provided config.

Overlays env vars onto the provided config.
sourceraw docstring

parse-valueclj

(parse-value value)

Parses an env value using edn/read-string.

On reading a symbol or failing to parse the string, the original value is returned.

Parses an env value using `edn/read-string`.

On reading a symbol or failing to parse the string, the original value is returned.
sourceraw docstring

var->pathclj

(var->path var)
(var->path var {:keys [kebab-char nest-char path-fn]})

Converts a env var name into a path suitable for get-in.

Converts a env var name into a path suitable for `get-in`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close