One of the caveats of using an env var to override what is set in the ini is that it is ignored if you want to make the flag an empty string. I am trying to come up with a way to make this possible.
I think an enhancement to globalconf is the place it should be instead of requiring the programmer to come up with some non-empty-string that means empty-string.
Perhaps have a pattern like EMPTY_ENVPREFIX_FLAG_NAME=true. What do you think?
I'd be happy to make a PR.
One of the caveats of using an env var to override what is set in the ini is that it is ignored if you want to make the flag an empty string. I am trying to come up with a way to make this possible.
I think an enhancement to globalconf is the place it should be instead of requiring the programmer to come up with some non-empty-string that means empty-string.
Perhaps have a pattern like
EMPTY_ENVPREFIX_FLAG_NAME=true. What do you think?I'd be happy to make a PR.