Skip to content
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

Consider giving 'argh' a try #48

Open
ExpHP opened this issue Jul 2, 2021 · 0 comments
Open

Consider giving 'argh' a try #48

ExpHP opened this issue Jul 2, 2021 · 0 comments
Labels
internals This is about internal APIs or code style

Comments

@ExpHP
Copy link
Owner

ExpHP commented Jul 2, 2021

I was looking at argh just now and it looks pretty good.

Normally I avoid this sort of #[derive(CliArg)] sort of deal because I tend to worry that the trait won't be expressive enough... but if it's similar enough to the traits I'm already writing, then what's the problem? It'd be cool to test it out on something with reasonably complicated args like truth and see if I have finally found the one good CLI parsing library in the ecosystem, so that I can finally stop stressing out every time I have to parse args in rust.


It mentions Fuschia and I found this: https://fuchsia.dev/fuchsia-src/concepts/api/cli

Some of the stuff on there seems concerning. (no -vsnr, and they (agreeably) advise against the equals sign in -o=<my_output_file> while using language that would appear to also (questionably) forbid --output=<my_output_file)...

@ExpHP ExpHP added the internals This is about internal APIs or code style label Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internals This is about internal APIs or code style
Projects
None yet
Development

No branches or pull requests

1 participant