No description
Find a file
Daniel Parks 1a2ae76738
fix(derive): Add "id" attribute
Previously the Arg id was set with the "name" attribute. This allows use
of an "id" attribute to match the underlying struct.

A side effect of this is that the "id" attribute may also be used on
Commands. This isn't desired, but given the current architecture of the
attribute parser, it's hard to avoid.

Fixes: #3785
2022-08-09 12:15:02 -07:00
.github chore(gh): Start v3 development 2022-07-21 12:30:15 -05:00
assets docs: Add back in logo 2021-12-07 17:45:57 -06:00
clap_bench fix!: Make ArgAction::Set the default 2022-08-05 13:31:33 -05:00
clap_complete fix: Provide convenient access for common cases 2022-08-05 12:06:54 -05:00
clap_complete_fig fix: Provide convenient access for common cases 2022-08-05 12:06:54 -05:00
clap_derive fix(derive): Add "id" attribute 2022-08-09 12:15:02 -07:00
clap_lex chore: Release 2022-06-28 08:04:18 -05:00
clap_mangen fix!: Rename Arg::number_of_values to Arg::num_args 2022-08-03 14:45:47 -05:00
examples docs(tutorial): Switch to hand-implemented ValueEnum 2022-08-09 10:23:23 -05:00
src fix(derive): Add "id" attribute 2022-08-09 12:15:02 -07:00
tests fix(derive): Add "id" attribute 2022-08-09 12:15:02 -07:00
.clippy.toml chore: Bump MSRV from 1.56.0 to 1.56.1 2022-06-17 09:01:45 -05:00
.gitignore chore: Allow testing MSRV 2022-07-19 13:50:27 -05:00
.pre-commit-config.yaml chore: Upgrade boilerplate 2022-02-15 12:36:19 -06:00
Cargo.lock Merge pull request #4011 from clap-rs/dependabot/cargo/proc-macro2-1.0.42 2022-08-01 09:23:56 -05:00
Cargo.toml docs(tutorial): Switch to hand-implemented ValueEnum 2022-08-09 10:23:23 -05:00
CHANGELOG.md fix!: Make ArgAction::Set the default 2022-08-05 13:31:33 -05:00
committed.toml chore: Align on boilerplate 2021-11-17 15:24:50 -06:00
CONTRIBUTING.md fix: Allow people to opt-in to deprecations 2022-06-14 10:50:05 -05:00
LICENSE-APACHE chore: relicense under MIT and APACHE 2.0 2018-07-23 14:25:18 -04:00
LICENSE-MIT docs(license): Update years/holders 2022-06-27 12:55:09 -05:00
Makefile fix!: Remove unstable-v4 feature gate 2022-07-22 11:34:06 -05:00
README.md chore: Update release process 2022-07-19 14:41:42 -05:00
release.toml chore: Allow releasing from release branches 2022-07-25 13:31:25 -05:00
typos.toml docs: Fix typos 2021-11-17 15:21:58 -06:00

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