#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

324 releases (stable)

4.5.23 Dec 5, 2024
4.5.21 Nov 13, 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 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 3309387/week @ 2024-11-01 3306811/week @ 2024-11-08 3409932/week @ 2024-11-15 3003973/week @ 2024-11-22 3122151/week @ 2024-11-29 3128754/week @ 2024-12-06

13,340,952 downloads per month
Used in 32,120 crates (19,515 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
~94K SLoC