clap (Rust crate)
The most recommended of 3 CLI frameworks
Recommended as a declarative Rust argument parser that builds from annotated structs and emits man pages and shell completions. Critics call it large and too clever for small tools.
Recommended as a declarative Rust argument parser that builds from annotated structs and emits man pages and shell completions. Critics call it large and too clever for small tools.
13 people gave an opinion
- recommend it
- 9
- criticize it
- 4
- approval share
- 69%
Recommended in 9 of 13 months
- November 2025: recommended
- December 2025: not recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: not recommended
- April 2026: recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: recommended
- September 2026: not recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it doesn’t carry the badge
- 9 people recommend itNeeds 10 or more, not met.
- 2.3 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 9 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Standard, trusted Rust argument library
“If it used one of the standard arguments-handling crates (e.g. "clap") there's no way it can happen.”
Comment from 15 Jul 2026 in “TS-2026-009: Insecure argument handling in Tailscale SSH permitted root access” “These aren't randos, these are all de-facto first party libraries.”
Comment from 21 Aug 2026 in “Malicious Rust Crate Arrayref Runs a Build-Time Payload”
What people warn about
Each mark is one comment
Too clever and complex
“Clap also uses them too much, because a CLI parameter is more complex than a struct field”
Comment from 22 Dec 2025 in “Rue: Higher level than Rust, lower level than Go” “Clap is enormous and seems way too clever for everything I do.”
Comment from 24 Nov 2025 in “Shai-Hulud Returns: Over 300 NPM Packages Infected”
Other CLI frameworks people recommend
The two most recommended other CLI frameworks, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| clap (Rust crate)This page | 9 | 4 | 69% | 9 | — | — |
| Typer | 5 | 0 | 100% | 4 | — | — |
| Click Python library | 5 | 3 | 63% | 3 | — | — |
What people said
9 of the 13 comments that mention it, newest first. Each links to the original comment.
“This generates audio embeddings - much like CLIP does for visual inputs.”
“These aren't randos, these are all de-facto first party libraries.”
“If it used one of the standard arguments-handling crates (e.g. "clap") there's no way it can happen.”
“that's the best of all of them”
“It's declarative (you create and annotate a struct, it generates the parser), and can be augmented with man page generation or shell completion generation.”
“what gave me pain with Rust for a cli was clap”
“Clap also uses them too much, because a CLI parameter is more complex than a struct field”
“Clap is enormous and seems way too clever for everything I do.”
“Clap went through some major redesigns with the 4.0 release just three years ago.”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.