{"data":{"slug":"clap","name":"clap","tagline":"Command line argument parser for Rust","category":"rust","categoryName":"Rust","url":"https://docs.rs/clap","github":"https://github.com/clap-rs/clap","pricing":"open-source","hook":"clap turns structs into command-line interfaces.","whatsGood":"Derive macros generate parsers from struct definitions. Help text generates automatically. Shell completions work. Subcommands are straightforward.","theCatch":"Compile times increase with complex CLIs. Some advanced patterns require builder API. Error messages could be clearer.","verdict":"The CLI argument parser most Rust projects use.","addedAt":"2026-08-19","featured":false,"domain":"Rust","subSpecialty":"Systems","subcategory":"Systems","tags":["cli","self-host","permissive","active"],"capabilities":["cli"],"surfaces":["CLI","Self-host"],"ecosystem":["Rust"],"licenseModel":"Apache-2.0","githubStars":16784,"starsPerWeek":28,"access":"free","archived":false,"repo":{"createdAt":"2015-02-25","pushedAt":"2026-10-06","license":"Apache-2.0","archived":false,"checkedAt":"2026-10-21"}},"related":[{"slug":"rust-lang","name":"Rust","tagline":"Systems programming without the footguns"},{"slug":"tokio","name":"Tokio","tagline":"Async runtime for Rust"},{"slug":"axum","name":"Axum","tagline":"Web framework from the Tokio team"},{"slug":"actix-web","name":"Actix Web","tagline":"Fast Rust web framework"},{"slug":"serde","name":"Serde","tagline":"Serialization framework for Rust"}],"links":{"self":"/api/gems/clap","html":"/gems/clap","markdown":"/gems/clap.md","category":"/api/gems?category=rust","categoryPage":"/stacks/rust"}}