milieu icon indicating copy to clipboard operation
milieu copied to clipboard

An environment-based configuration library.

Results 8 milieu issues
Sort by recently updated
recently updated
newest added

Opening pull request for 1.0.0 branch while it is in progress.

If no cli-options are provided, the arguments are parsed as is, but if options are provided they are used. Without options: ``` clojure {:src args, :as :cli} ``` With options:...

Presently we take a "convention over configuration" approach to configuration autoload that follows a convention of automatically loading a config file name configure.yml in the classpath root. This needs to...

The configuration tree, represented by `configuration` and `value`, is global; there is no way to have multiple clients of milieu operate under isolated configuration hierarchies, each with different semantics for...

Multiple non-targeted sources to merge: ``` clojure (load-config {:src "foo.json" :as :json} {:src "bar.clj", :as :edn}) ``` Multiple targeted sources to merge (because they are targeting the same environment, they...

Make it possible to load data from a source that does not internally specify environment(s) ``` clojure (load-config {:target :dev :src :lein :as :environ} {:target [:staging :prod] :src args :as...

I had been thinking of ways to support a wider variety of sources for config values, including environment variable. I recently came across https://github.com/weavejester/environ and this seems to fit the...