#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

305 releases (stable)

4.5.4 Mar 25, 2024
4.5.1 Feb 16, 2024
4.4.12 Dec 28, 2023
4.4.10 Nov 28, 2023
0.5.7 Mar 31, 2015

#6 in Command-line interface

Download history 2186837/week @ 2024-01-13 2215079/week @ 2024-01-20 2313864/week @ 2024-01-27 2268926/week @ 2024-02-03 2286573/week @ 2024-02-10 2297151/week @ 2024-02-17 2385652/week @ 2024-02-24 2420426/week @ 2024-03-02 2368196/week @ 2024-03-09 2412584/week @ 2024-03-16 2415571/week @ 2024-03-23 2479415/week @ 2024-03-30 2410958/week @ 2024-04-06 2470683/week @ 2024-04-13 2491049/week @ 2024-04-20 1993160/week @ 2024-04-27

9,792,629 downloads per month
Used in 27,289 crates (16,227 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–9.5MB
~90K SLoC