#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 1064622/week @ 2023-12-23 1618283/week @ 2023-12-30 2071872/week @ 2024-01-06 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 2063992/week @ 2024-04-06

9,754,343 downloads per month
Used in 26,989 crates (15,963 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–12MB
~103K SLoC