Kuddle.Config.Provider (Kuddle Config v0.1.0) View Source

Use Kuddle as a config provider for a single file, if you want to load a directory see Kuddle.Config.DirectoryProvider instead

Example

defp releases do
  [
    application: [
      config_providers: [
        {Kuddle.Config.Provider, [
          path: {:system, "PATH_TO_CONFIG", "/default/path/to/kdl/config"}
        ]}
      ]
    ]
  ]
end

Link to this section Summary

Types

The path to the KDL config file that should be loaded.

Link to this section Types

Specs

option() :: path_option()

Specs

options() :: [option()]

Specs

path_option() :: {:path, Config.Provider.config_path()}

The path to the KDL config file that should be loaded.