#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

#7 in Command-line interface

Download history 2033143/week @ 2024-01-05 2142418/week @ 2024-01-12 2274831/week @ 2024-01-19 2280204/week @ 2024-01-26 2243018/week @ 2024-02-02 2307127/week @ 2024-02-09 2275313/week @ 2024-02-16 2387056/week @ 2024-02-23 2436412/week @ 2024-03-01 2365333/week @ 2024-03-08 2413149/week @ 2024-03-15 2450038/week @ 2024-03-22 2400385/week @ 2024-03-29 2438259/week @ 2024-04-05 2464840/week @ 2024-04-12 2083358/week @ 2024-04-19

9,831,599 downloads per month
Used in 27,163 crates (16,101 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
~91K SLoC