-
I think I lack the vocabulary to effectively describe the issue or find a similar question but, does anyone know if it's possible with my-binary --foo=bar
my-binary --foo # Defaults to "baz"
my-binary # valid and recognizes --foo was not passed |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
The examples for |
Beta Was this translation helpful? Give feedback.
-
Can we have something like that for environment variables too? Like |
Beta Was this translation helpful? Give feedback.
The examples for
default_missing_value
are what you are looking for. Note that any of the builder methods can just be used as attributes within the derive API.