#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

321 releases (stable)

4.5.20 Oct 8, 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 2832497/week @ 2024-07-19 2896119/week @ 2024-07-26 2861987/week @ 2024-08-02 2994632/week @ 2024-08-09 3111579/week @ 2024-08-16 3134271/week @ 2024-08-23 2982537/week @ 2024-08-30 3152327/week @ 2024-09-06 2862879/week @ 2024-09-13 3440082/week @ 2024-09-20 3387727/week @ 2024-09-27 4134518/week @ 2024-10-04 3795354/week @ 2024-10-11 3835214/week @ 2024-10-18 3346644/week @ 2024-10-25 2742245/week @ 2024-11-01

14,387,897 downloads per month
Used in 31,073 crates (18,908 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
~97K SLoC