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

no-std bin+lib clap

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

305 releases (stable)

4.5.4 Mar 25, 2024
4.5.1 Feb 16, 2024
4.4.12 Dec 28, 2023
4.4.10 Nov 28, 2023
0.5.7 Mar 31, 2015

#7 in Command-line interface

Download history 2190766/week @ 2024-01-14 2209986/week @ 2024-01-21 2323255/week @ 2024-01-28 2274898/week @ 2024-02-04 2287619/week @ 2024-02-11 2283687/week @ 2024-02-18 2397628/week @ 2024-02-25 2424805/week @ 2024-03-03 2354948/week @ 2024-03-10 2425184/week @ 2024-03-17 2407718/week @ 2024-03-24 2497997/week @ 2024-03-31 2393181/week @ 2024-04-07 2462458/week @ 2024-04-14 2494756/week @ 2024-04-21 2243812/week @ 2024-04-28

9,762,944 downloads per month
Used in 27,328 crates (16,250 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–10MB
~93K SLoC