Alembix (alembix v0.1.2)

## Install

In your mix.exs file add alembix to the release config

  defp releases do
    [
      api: [
        include_executables_for: [:unix],
        applications: [
          runtime_tools: :permanent,
          alembic: :permanent,
          api: :permanent
        ],
        runtime_config_path: "config/releases.exs",
      ]
    ]
  end

## Use

In your release.exs file use Alembix to fetch variables.

 config :api, :server, Alembic.fetch_boolean!("START_SERVER")

Link to this section Summary

Link to this section Functions

Link to this function

fetch_atom(name, default \\ nil)

@spec fetch_atom(String.t(), any()) :: atom()
Link to this function

fetch_atom!(name)

@spec fetch_atom!(String.t()) :: atom() | :no_return
Link to this function

fetch_base_16(name, default \\ nil)

Link to this function

fetch_base_16!(name)

Link to this function

fetch_boolean(name, default \\ [])

@spec fetch_boolean(String.t(), any()) :: boolean() | nil
Link to this function

fetch_boolean!(name)

@spec fetch_boolean!(String.t()) :: boolean() | :no_return
Link to this function

fetch_env(name, default \\ nil)

@spec fetch_env(String.t(), any()) :: any()
Link to this function

fetch_env!(name)

@spec fetch_env!(String.t()) :: String.t() | :no_return
Link to this function

fetch_integer(name, default \\ nil)

Link to this function

fetch_integer!(name)

@spec fetch_integer!(String.t()) :: integer()