Extensible runtime configuration loader with pluggable providers

Summary

Functions

Is the app running in release mode?

Resolve configuration

Functions

release_mode?()

@spec release_mode?() :: boolean()

Is the app running in release mode?

resolve!()

@spec resolve!() :: Keyword.t()

Resolve configuration

When called with resolve!/0 it will default to all loaded applications' configuration. When called with resolve!/1 with the configuration as an argument it will process that.

resolve!(config, options \\ Keyword.new())

@spec resolve!(Keyword.t(), Keyword.t()) :: Keyword.t()
@spec resolve!(
  {atom(), Keyword.t()},
  Keyword.t()
) :: {atom(), Keyword.t()}