commandlineparser / commandlineparser/commandline
How to make an input parameter/flag default to a named Environment Variable?
Open
question
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
Description
As the title says;
- I want a flag/input parameter named `--foo-bar`. (No probs there).
- I want `--help` to show that `--foo-bar` gets its default value from environment variable `FOO_BAR`.
(Maybe also show the value of the current envvar `FOO_BAR` if it exists in current shell/machine)?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.