yamkeys

Simple configuration management based on YAML.

Members

Classes

Configuration
class Configuration

Holds the state for the configuration files.

YamkeysException
class YamkeysException
Undocumented in source.

Functions

configure
string 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.

Static variables

config
Configuration config;

The global configuration variable.

Templates

defaultName
template defaultName(T)

The default key name for a type: its lowercased local name.

Meta

Authors

Nathan M. Swan, nathanmswan@gmail.com

License

MIT (Expat) License