24 days of Rust - clap
clap
is a fantastic Rust library
for Command Line Argument Parsing. It's both
easy to use and powerful - in the spirit of Rust philosophy - you get what
you pay for. Simple CLI options are simple to define, while complex schemes
(think git
level of complex) are absolutely doable.
clap
is also one of the best examples of what I would call
developer marketing in the Rust community. It has a
beautiful and informative homepage, an extensive
README (including changelog - see note
below), a bunch of
good examples, even
video tutorials!
Hats off to Kevin and all clap
contributors, you're doing a great job!
Note: Rust crate authors, please, please add changelogs/release notes to your libraries. Coming from Python where it's customary, it struck me that a lot of libraries do not document their changes aside from the commit log. (Oops, I'm guilty of this myself...)
Czytaj dalej »