Conf

Conf

JDP.ConfModule.

Gives access to configuration files

JDP.Conf.confmergeMethod.

Like Base.merge, but recurses into Dictionaries

JDP.Conf.get_confMethod.
get_conf(name::Symbol)::Dict

Get the configuration for name. If a temporary in-memory conf has been set with set_conf then it will return that. Otherwise it will return the contents of ../conf/name.toml merged with ~/.config/jdp/name.toml. The contents of the home directory config win in the event of a conflict.

JDP.Conf.set_confMethod.

Used to override the contents of the configuration files for testing (for now)

Override the user specific config path for unit testing