configure

Creates code which declares a variable of type T which is loaded with configurations by calling config.load, as well as a function of the given name which, given config, returns the variable.

string
configure
(
T
string name = defaultName!T
)
()

Meta