ConfigSmuggler.encode_file

You're seeing just the function encode_file, go back to ConfigSmuggler module for more information.

Specs

encode_file(String.t()) ::
  {:ok, encoded_config_map()} | {:error, error_reason()}

Reads a config file and returns a map of encoded key/value pairs representing the configuration. Respects Mix.Config.import_config/1.

iex> ConfigSmuggler.encode_file("config/config.exs")
{:ok, %{
  "elixir-logger-level" => ":info",
  # ...
}}