Configuration functionality. This reads the application configuration from various sources, like environment vars or command-line args. It provides some defaults and accessor functions. It mainly uses aero to reduce duplication in the configuration and merge multiple config files into one.
Configuration functionality. This reads the application configuration from various sources, like environment vars or command-line args. It provides some defaults and accessor functions. It mainly uses aero to reduce duplication in the configuration and merge multiple config files into one.
(app-config env args)
Combines app environment with command-line args into a unified configuration structure. Args have precedence over env vars, which in turn override config loaded from files and default values.
Combines app environment with command-line args into a unified configuration structure. Args have precedence over env vars, which in turn override config loaded from files and default values.
Default configuration for the application, without env vars or args applied.
Default configuration for the application, without env vars or args applied.
(load-config-file f)
Loads configuration from given file. This supports json and edn and converts keys always to kebab-case.
Loads configuration from given file. This supports json and edn and converts keys always to kebab-case.
(load-raw-config extra-files)
Loads raw (not normalized) configuration from its various sources
Loads raw (not normalized) configuration from its various sources
Max msecs a build script can run before we terminate it
Max msecs a build script can run before we terminate it
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close