Replies: 1 comment 1 reply
-
|
We currently do not have a way to recognize an empty environment variable as "unset". I looked at I'm also fairly uncomfortable extending env support because it is a slippery slope to full layered config (#2763) and we have to balance the needs of different clap users while people can pull in their own layer config approach to handle needs like this. If we made env support a plugin (#3476) then it would be easy to play with different approaches in an outside library. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I can't get the default value for an argument, if the environment value ist empty:
This is how i defined the argument:
What can I do here?
Beta Was this translation helpful? Give feedback.
All reactions