1. Tikitu de Jager
  2. argparse_config
  3. Issues
Issue #6 new

Support environment variables too

Tikitu de Jager
repo owner created an issue

Inside-out the lookup algorithm to take a "provider" as arg, that does the string munging and value lookup. Then env vars are a trivial addition; if we're lucky ConfigParser already handles file cascades, if not we'll have to loop on provided filenames, but the upshot is that we get the entire *nix lookup cascade (system files, user files, env vars, commandline).

Comments (0)

  1. Log in to comment