-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add try_from_env() function #122
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice if the library contained this function:
Use case is a bit niche - it's a command that is run with no stdout or stderr so the only way I can see CLI errors is to write them to a file, and I can't do that with
argh::from_env()
.Also seems a bit weird that
argh::EarlyExit
usesResult<(), ()>
andString
rather than just beingResult<(), String>
.The text was updated successfully, but these errors were encountered: