You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if it was possible to disable the non-zero check during a bind, so that we can pre-populate certain values and allow for DocOpt to over-ride when necessary.
My use case is i'm using another library to first parse environment variables, and would like program arguments to over-ride when necessary.
Maybe this logic would break other things, so if there's a better suggestion to combine Environment variables with DocOpt i'd love to hear them!
The text was updated successfully, but these errors were encountered:
I use a "hack" where i populate the default values before parsing, this is of course not so clean, but works great for defaults when these are OS specific
It would be great if it was possible to disable the non-zero check during a bind, so that we can pre-populate certain values and allow for DocOpt to over-ride when necessary.
My use case is i'm using another library to first parse environment variables, and would like program arguments to over-ride when necessary.
Maybe this logic would break other things, so if there's a better suggestion to combine Environment variables with DocOpt i'd love to hear them!
The text was updated successfully, but these errors were encountered: