#arguments-parser #parser #clap #cli-parser #arg

no-std bin+lib clap

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

338 releases (stable)

4.5.37 Apr 18, 2025
4.5.34 Mar 27, 2025
4.5.23 Dec 5, 2024
4.5.21 Nov 13, 2024
0.5.7 Mar 31, 2015

#4 in Command-line interface

Download history 3601466/week @ 2025-01-14 3659683/week @ 2025-01-21 3697549/week @ 2025-01-28 4328630/week @ 2025-02-04 4096555/week @ 2025-02-11 4422597/week @ 2025-02-18 4441633/week @ 2025-02-25 4770602/week @ 2025-03-04 4993319/week @ 2025-03-11 5293143/week @ 2025-03-18 4966444/week @ 2025-03-25 4883739/week @ 2025-04-01 5244791/week @ 2025-04-08 4589026/week @ 2025-04-15 4609653/week @ 2025-04-22 4520230/week @ 2025-04-29

19,849,739 downloads per month
Used in 35,539 crates (21,895 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
~105K SLoC