#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 2880076/week @ 2024-08-01 3030361/week @ 2024-08-08 3041847/week @ 2024-08-15 3116742/week @ 2024-08-22 2937298/week @ 2024-08-29 3226334/week @ 2024-09-05 3020626/week @ 2024-09-12 3212005/week @ 2024-09-19 3431675/week @ 2024-09-26 4034641/week @ 2024-10-03 3845517/week @ 2024-10-10 3848562/week @ 2024-10-17 3370224/week @ 2024-10-24 3271378/week @ 2024-10-31 3254463/week @ 2024-11-07 2924610/week @ 2024-11-14

13,439,704 downloads per month
Used in 31,372 crates (19,175 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
~98K SLoC