Welcome to CLAC!

What is CLAC?

CLAC is a multi-level configuration management library for use by applications which require multi-source configuration, such as multiple config files (which could have priority overriding based on location), environment variables, command-line parameters, and default configuration shipped with the application itself.

The theory behind the tool is that the each of the configuration sources is a layer, and each layer has a priority against the other layers, e.g. command-line options should override competing environment variables. The layers are collected into a single object, and a single function call will search for the proper value in each layer, returning the highest priority value.

Indices and tables