#parser #arguments-parser #command-line-arguments

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 2766426/week @ 2024-07-16 2905985/week @ 2024-07-23 2867840/week @ 2024-07-30 2948605/week @ 2024-08-06 3012104/week @ 2024-08-13 3097873/week @ 2024-08-20 2998696/week @ 2024-08-27 3209206/week @ 2024-09-03 3069084/week @ 2024-09-10 3070500/week @ 2024-09-17 3376803/week @ 2024-09-24 3769258/week @ 2024-10-01 4081524/week @ 2024-10-08 3894498/week @ 2024-10-15 3404206/week @ 2024-10-22 3299097/week @ 2024-10-29

15,477,687 downloads per month
Used in 31,008 crates (18,872 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