#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

332 releases (stable)

new 4.5.31 Feb 24, 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 3360196/week @ 2024-11-03 3384784/week @ 2024-11-10 3334434/week @ 2024-11-17 2814357/week @ 2024-11-24 3324270/week @ 2024-12-01 3824159/week @ 2024-12-08 3378548/week @ 2024-12-15 1718972/week @ 2024-12-22 2037452/week @ 2024-12-29 3613575/week @ 2025-01-05 3768663/week @ 2025-01-12 3490414/week @ 2025-01-19 3708761/week @ 2025-01-26 4201374/week @ 2025-02-02 4381327/week @ 2025-02-09 803401/week @ 2025-02-16

13,341,818 downloads per month
Used in 33,804 crates (20,746 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–10MB
~102K SLoC