Thinking about re-writing my clunky Rust command line tool using clap.rs, in the hopes of (a) learning something, (b) making it more useful to users, and (c) making it easier for others to contribute.
Do any of y'all have clap.rs tutorials/examples you like? (Beyond the examples included in the repo itself, which I will try to learn from)
@schlink I have a recommendation, which is not something you've asked for, but nevertheless :D
Use https://docs.rs/structopt — it's a higher-level wrapper over clap that gets you much more "ADT-like" (and so, Rust-like) than "query-like" arg parsing. You're going to love it and wish other languages had this 😃
> Do any of y'all have clap.rs tutorials/examples you like? (Beyond the examples included in the repo itself, which I will try to learn from)
No tutorials come immediately to mind, but here's my implementation of a pretty simple CLI for my mnemonic app.
I'm also happy to answer any questions as they come up—I'm a big fan of #clap