#argument #cli #arg #parser #parse

bin+lib clap

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

257 releases (stable)

4.3.0 May 19, 2023
4.2.5 Apr 27, 2023
4.2.1 Mar 29, 2023
4.0.32 Dec 22, 2022
0.5.7 Mar 31, 2015

#4 in Command-line interface

Download history 1400009/week @ 2023-02-09 1394959/week @ 2023-02-16 1542527/week @ 2023-02-23 1453693/week @ 2023-03-02 1558560/week @ 2023-03-09 1593774/week @ 2023-03-16 1742330/week @ 2023-03-23 1517618/week @ 2023-03-30 1344625/week @ 2023-04-06 1500595/week @ 2023-04-13 1529607/week @ 2023-04-20 1448736/week @ 2023-04-27 1498268/week @ 2023-05-04 1527949/week @ 2023-05-11 1490574/week @ 2023-05-18 1455355/week @ 2023-05-25

6,249,299 downloads per month
Used in 21,284 crates (11,584 directly)

MIT/Apache

1MB
15K 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.1–6MB
~103K SLoC