View Source Kuddle.Config.Provider (Kuddle Config v1.0.0)
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
Summary
Types
@type option() :: path_option()
@type options() :: [option()]
@type path_option() :: {:path, Config.Provider.config_path()}
The path to the KDL config file that should be loaded.