Skip to content

Fix env vars precedence

Alexey Protsenko requested to merge env-precedence into master

The clap module we use for parsing command-line arguments allows specifying default_value. Unfortunately, it makes impossible to tell if an argument was actually passed. So it always overrides env var with a default value, which is undesirable.

Merge request reports