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

no-std bin+lib clap

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

327 releases (stable)

new 4.5.26 Jan 9, 2025
4.5.23 Dec 5, 2024
4.5.21 Nov 13, 2024
4.5.13 Jul 31, 2024
0.5.7 Mar 31, 2015

#4 in Command-line interface

Download history 3376803/week @ 2024-09-24 3769258/week @ 2024-10-01 4081524/week @ 2024-10-08 3894498/week @ 2024-10-15 3404206/week @ 2024-10-22 3289890/week @ 2024-10-29 3261052/week @ 2024-11-05 3444699/week @ 2024-11-12 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 2230465/week @ 2024-12-31 3200134/week @ 2025-01-07

10,867,755 downloads per month
Used in 32,664 crates (19,988 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
~99K SLoC