I've never had a better experience writing CLI apps than with Rust and structopt.
Conversation
I wasn’t a fan of structopt: its attribute syntax always felt a bit wonky with configuration over convention for things that should Just Work. I preferred gumdrop for awhile, but clap_derive seems to be shaping up nicely
1
3
The thing that frustrated me about gumpdrop vs structopt was the default assignment of short arguments, which showed a bit of a relaxed attitude to backwards compatibility? Thankful that folks are trying to push for shorter compile times though.
2
The thing thatt frustrates me about gumdrop is that it interprets the args internally from their &str instead of OsStr representations and therefore potentially panics on various fallible conversions (like PathBuf)
1
1
i previously have enjoyed gumdrop but will probably use twitter.com/raggi/status/1 in personal projects if we manage to kept crates io up to date
Quote Tweet
Replying to @ReinH
But your binaries weigh a *ton*
We built argh because we couldn't pay that much for arg parsing. (github.com/google/argh)
1
2
Yeah, clap is strangely heavy for what it's used. I've been looking into argh myself also.
1





