#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

330 releases (stable)

new 4.5.29 Feb 11, 2025
4.5.27 Jan 20, 2025
4.5.23 Dec 5, 2024
4.5.21 Nov 13, 2024
0.5.7 Mar 31, 2015

#5 in Command-line interface

Download history 3257573/week @ 2024-10-26 3389971/week @ 2024-11-02 3353847/week @ 2024-11-09 3347854/week @ 2024-11-16 2840673/week @ 2024-11-23 3283292/week @ 2024-11-30 3845429/week @ 2024-12-07 3361306/week @ 2024-12-14 1768481/week @ 2024-12-21 2025305/week @ 2024-12-28 3556541/week @ 2025-01-04 3795805/week @ 2025-01-11 3455999/week @ 2025-01-18 3698358/week @ 2025-01-25 4146467/week @ 2025-02-01 4410643/week @ 2025-02-08

16,366,741 downloads per month
Used in 33,495 crates (20,485 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
~102K SLoC