← All repos

clap

A full featured, fast Command Line Argument Parser for Rust

argument-parserargument-parsingcommand-linecommand-line-parserparsed-argumentspositional-argumentsrustsubcommands
Browse cluster: Haskell tooling and libraries
9,073commits
624contributors
7languages

Tech stack & purpose

clap is a full-featured, fast command-line argument parser for Rust that enables developers to create command-line parsers both declaratively and procedurally. The project is composed of several modular crates: clap_builder provides the core builder implementation, clap_derive implements macros for derive-based parsing, clap_lex offers minimal command-line lexing, clap_complete generates shell completions, clap_complete_nushell adds support for Nushell completion generation, and clap_mangen generates man pages from command definitions. The entire project is dual-licensed under Apache 2.0 or MIT.

Community & reference links

Languages

Rust
89.1%
Shell
6.8%
PowerShell
2.5%
Nushell
0.6%
Roff
0.5%
Elvish
0.4%
Makefile
0.1%

Contributors (top 30 of 624)