#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 2066358/week @ 2024-01-10 2296254/week @ 2024-01-17 2223350/week @ 2024-01-24 2289331/week @ 2024-01-31 2302691/week @ 2024-02-07 2270522/week @ 2024-02-14 2338932/week @ 2024-02-21 2419374/week @ 2024-02-28 2400904/week @ 2024-03-06 2372413/week @ 2024-03-13 2458532/week @ 2024-03-20 2334962/week @ 2024-03-27 2514553/week @ 2024-04-03 2454519/week @ 2024-04-10 2462963/week @ 2024-04-17 2051074/week @ 2024-04-24

9,944,508 downloads per month
Used in 27,258 crates (16,186 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
~88K SLoC