#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

322 releases (stable)

4.5.21 Nov 13, 2024
4.5.18 Sep 20, 2024
4.5.13 Jul 31, 2024
4.5.4 Mar 25, 2024
0.5.7 Mar 31, 2015

#5 in Command-line interface

Download history 2879843/week @ 2024-08-04 3007007/week @ 2024-08-11 3121773/week @ 2024-08-18 3142135/week @ 2024-08-25 3034117/week @ 2024-09-01 3120774/week @ 2024-09-08 2907713/week @ 2024-09-15 3373540/week @ 2024-09-22 3560535/week @ 2024-09-29 4170924/week @ 2024-10-06 3876858/week @ 2024-10-13 3622279/week @ 2024-10-20 3267372/week @ 2024-10-27 3360196/week @ 2024-11-03 3393233/week @ 2024-11-10 3189647/week @ 2024-11-17

13,422,283 downloads per month
Used in 31,470 crates (19,225 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–9MB
~95K SLoC