#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 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 3289890/week @ 2024-10-29 3261052/week @ 2024-11-05 3444699/week @ 2024-11-12 3335365/week @ 2024-11-19 2811688/week @ 2024-11-26 3413483/week @ 2024-12-03 3783254/week @ 2024-12-10 3122786/week @ 2024-12-17 1706439/week @ 2024-12-24

12,607,517 downloads per month
Used in 32,495 crates (19,798 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–8.5MB
~91K SLoC