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

no-std bin+lib clap

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

333 releases (stable)

new 4.5.32 Mar 10, 2025
4.5.27 Jan 20, 2025
4.5.23 Dec 5, 2024
4.5.21 Nov 13, 2024
0.5.7 Mar 31, 2015

#4 in Command-line interface

Download history 3335365/week @ 2024-11-19 2811688/week @ 2024-11-26 3413483/week @ 2024-12-03 3783254/week @ 2024-12-10 3122786/week @ 2024-12-17 1707903/week @ 2024-12-24 2217780/week @ 2024-12-31 3778234/week @ 2025-01-07 3601466/week @ 2025-01-14 3659683/week @ 2025-01-21 3697549/week @ 2025-01-28 4328630/week @ 2025-02-04 4096555/week @ 2025-02-11 4422597/week @ 2025-02-18 4441633/week @ 2025-02-25 4026920/week @ 2025-03-04

17,717,338 downloads per month
Used in 34,005 crates (20,904 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
~105K SLoC