#arguments-parser #command-line-arguments #parser #argument #parse #arg #procedural

no-std bin+lib clap

A simple to use, efficient, and full-featured Command Line Argument Parser

327 releases (stable)

4.5.26 Jan 9, 2025
4.5.23 Dec 5, 2024
4.5.21 Nov 13, 2024
4.5.13 Jul 31, 2024
0.5.7 Mar 31, 2015

#4 in Command-line interface

Download history 3441039/week @ 2024-09-28 4117428/week @ 2024-10-05 3839016/week @ 2024-10-12 3828336/week @ 2024-10-19 3257573/week @ 2024-10-26 3389971/week @ 2024-11-02 3353847/week @ 2024-11-09 3347854/week @ 2024-11-16 2840673/week @ 2024-11-23 3283292/week @ 2024-11-30 3845429/week @ 2024-12-07 3361306/week @ 2024-12-14 1768481/week @ 2024-12-21 2025305/week @ 2024-12-28 3571057/week @ 2025-01-04 3258939/week @ 2025-01-11

11,161,988 downloads per month
Used in 32,947 crates (20,043 directly)

MIT/Apache

1MB
14K SLoC

clap

Command Line Argument Parser for Rust

Crates.io Crates.io License License Build Status Coverage Status Contributors

Dual-licensed under Apache 2.0 or MIT.

About

Create your command-line parser, with all of the bells and whistles, declaratively or procedurally.

For more details, see:

Sponsors

Gold

Silver

Bronze

Backer

Dependencies

~0–9.5MB
~99K SLoC