Allow any option or parameter to be optionally expressed as an environment variable like in variant1
why
so we can set the base path of our configurations without needing to pass the parameter every time (kind of like the way variant2 uses the VARIANT_DIR), we want to set our own CONFIG_DIR which corresponds to the --config-dir parameter.
what
variant1
why
variant2
uses theVARIANT_DIR
), we want to set our ownCONFIG_DIR
which corresponds to the--config-dir
parameter.