Confix
Read, parse and patch Elixir application's configuration
Features:
- Get Mix config for your application in the most compact way
- Parse
{:system, "ENV_VAR"}tuples automatically for runtime config capabilities - Cast system tuples to specific type and provide defaults
- Load config via system tuples from multiple env vars, taking first present one
- Patch external library configs with all the above capabilities
Getting Started
Add confix as a dependency to your project in mix.exs:
defp deps do
[{:confix, "~> 0.4"}]
endThen run mix deps.get to fetch it.
Documentation
Visit documentation on HexDocs for a complete API reference.