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

no-std bin+lib clap

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

304 releases (stable)

new 4.5.3 Mar 15, 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

#7 in Command-line interface

Download history 2044489/week @ 2023-11-26 2102731/week @ 2023-12-03 1957635/week @ 2023-12-10 1818929/week @ 2023-12-17 1062595/week @ 2023-12-24 1644486/week @ 2023-12-31 2072867/week @ 2024-01-07 2190766/week @ 2024-01-14 2209986/week @ 2024-01-21 2323255/week @ 2024-01-28 2274898/week @ 2024-02-04 2287619/week @ 2024-02-11 2283687/week @ 2024-02-18 2397628/week @ 2024-02-25 2424805/week @ 2024-03-03 945440/week @ 2024-03-10

8,207,325 downloads per month
Used in 26,373 crates (15,506 directly)

MIT/Apache

1MB
15K 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–10MB
~95K SLoC