samoht / assemblage

A collection of tools to manage the configuration of OCaml projects
54 stars 4 forks source link

Default driver configuration key lookup #129

Closed dbuenzli closed 4 years ago

dbuenzli commented 9 years ago

At the moment the configuration key lookup procedure proceeds as follows (first match is taken):

  1. Value of the command line flag ( --$NAME-key)
  2. Value in a configuration scheme, if present and if a scheme is specified via --conf $SCHEME on the command line.
  3. Key default value.

We could further add:

0 ASSEMBLAGE_KEY_$NAME environment variable.

Or is that too much ?