• Home
Name Date Size #Lines LOC

..--

.github/22-Mar-2025-807665

assets/22-Mar-2025-

clap_bench/22-Mar-2025-2,0731,901

clap_complete/22-Mar-2025-7,9716,692

clap_complete_fig/22-Mar-2025-1,9531,748

clap_derive/22-Mar-2025-4,4553,786

clap_lex/22-Mar-2025-1,249841

clap_mangen/22-Mar-2025-1,9161,607

examples/22-Mar-2025-4,4813,402

src/22-Mar-2025-28,32015,410

tests/22-Mar-2025-26,04722,243

.clippy.tomlD22-Mar-202524 21

.gitignoreD22-Mar-20257 21

.pre-commit-config.yamlD22-Mar-2025504 2221

BUILD.gnD22-Mar-20252.2 KiB7569

CHANGELOG.mdD22-Mar-2025205.8 KiB4,2872,451

CITATION.cffD22-Mar-20251.1 KiB3632

CONTRIBUTING.mdD22-Mar-20258.3 KiB154116

Cargo.lockD22-Mar-202531.6 KiB1,2701,127

Cargo.tomlD22-Mar-20259.7 KiB387319

LICENSE-APACHED22-Mar-202511.1 KiB202169

LICENSE-MITD22-Mar-20251.1 KiB2217

MakefileD22-Mar-20251.4 KiB4428

OAT.xmlD22-Mar-20255 KiB7622

README.OpenSourceD22-Mar-2025387 1211

README.mdD22-Mar-20251.8 KiB4428

committed.tomlD22-Mar-202583 43

deny.tomlD22-Mar-20256.5 KiB150142

release.tomlD22-Mar-202565 32

typos.tomlD22-Mar-2025116 98

README.OpenSource

1[
2  {
3    "Name": "clap",
4    "License": "Apache license 2.0, MIT",
5    "License File": "LICENSE-MIT, LICENSE-APACHE",
6    "Version Number": "4.1.13",
7    "Owner": "fangting12@huawei.com",
8    "Upstream URL": "https://github.com/clap-rs/clap",
9    "Description": "A command-line argument parsing library for Rust that supports subcommands and complex argument parsing."
10  }
11]
12

README.md

1# clap
2
3> **Command Line Argument Parser for Rust**
4
5[![Crates.io](https://img.shields.io/crates/v/clap?style=flat-square)](https://crates.io/crates/clap)
6[![Crates.io](https://img.shields.io/crates/d/clap?style=flat-square)](https://crates.io/crates/clap)
7[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](LICENSE-APACHE)
8[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE-MIT)
9[![Build Status](https://img.shields.io/github/actions/workflow/status/clap-rs/clap/ci.yml?branch=master&style=flat-square)](https://github.com/clap-rs/clap/actions/workflows/ci.yml?query=branch%3Amaster)
10[![Coverage Status](https://img.shields.io/coveralls/github/clap-rs/clap/master?style=flat-square)](https://coveralls.io/github/clap-rs/clap?branch=master)
11[![Contributors](https://img.shields.io/github/contributors/clap-rs/clap?style=flat-square)](https://github.com/clap-rs/clap/graphs/contributors)
12
13Dual-licensed under [Apache 2.0](LICENSE-APACHE) or [MIT](LICENSE-MIT).
14
15## About
16
17Create your command-line parser, with all of the bells and whistles, declaratively or procedurally.
18
19For more details, see:
20- [docs.rs](https://docs.rs/clap/latest/clap/)
21- [examples](examples/)
22
23## Sponsors
24
25<!-- omit in TOC -->
26### Gold
27
28[![](https://opencollective.com/clap/tiers/gold.svg?avatarHeight=36&width=600)](https://opencollective.com/clap)
29
30<!-- omit in TOC -->
31### Silver
32
33[![](https://opencollective.com/clap/tiers/silver.svg?avatarHeight=36&width=600)](https://opencollective.com/clap)
34
35<!-- omit in TOC -->
36### Bronze
37
38[![](https://opencollective.com/clap/tiers/bronze.svg?avatarHeight=36&width=600)](https://opencollective.com/clap)
39
40<!-- omit in TOC -->
41### Backer
42
43[![](https://opencollective.com/clap/tiers/backer.svg?avatarHeight=36&width=600)](https://opencollective.com/clap)
44