#arguments-parser #command-line-arguments #parser #argument #arg #parse

no-std bin+lib clap

A simple to use, efficient, and full-featured Command Line Argument Parser

312 releases (stable)

new 4.5.11 Jul 25, 2024
4.5.8 Jun 28, 2024
4.5.4 Mar 25, 2024
4.4.12 Dec 28, 2023
0.5.7 Mar 31, 2015

#6 in Command-line interface

Download history 2438259/week @ 2024-04-05 2464840/week @ 2024-04-12 2493227/week @ 2024-04-19 2343769/week @ 2024-04-26 2353471/week @ 2024-05-03 2417341/week @ 2024-05-10 2492819/week @ 2024-05-17 2439220/week @ 2024-05-24 2686823/week @ 2024-05-31 2774486/week @ 2024-06-07 2670738/week @ 2024-06-14 2752415/week @ 2024-06-21 2637036/week @ 2024-06-28 2723393/week @ 2024-07-05 2773707/week @ 2024-07-12 2334477/week @ 2024-07-19

10,971,342 downloads per month
Used in 28,790 crates (17,332 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–13MB
~104K SLoC