-
Notifications
You must be signed in to change notification settings - Fork 1
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
Use a command line library crate #41
Comments
There seem to be some good crates available for this: https://crates.io/keywords/cli?sort=downloads |
Hmm, bad search. The top 3 here - https://crates.io/keywords/command?sort=downloads - are probably what we should look at. clap, docopt and argparse. |
@pbteja1998 has expressed interest in taking this up. :) |
@polybuildr, I will not be able to work on this. I got some other work. |
I'm working on this |
@polybuildr clap seems more flexible to me as it allows specifying arguments manually as well as deriving them from usage strings, while docopt only supports usage strings. |
Sounds good. In that case, let's go for Clap. |
@anukul, any updates? |
The current handling of command line arguments (refer to
fn main
in main.rs) is rather crude. Using a command line library crate would definitely make things simpler.The text was updated successfully, but these errors were encountered: