clap/clap_derive
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
..
src fix(derive): Add "id" attribute 2022-08-09 12:15:02 -07:00
Cargo.toml chore(deps): bump proc-macro2 from 1.0.40 to 1.0.42 2022-08-01 07:04:51 +00:00
CONTRIBUTING.md docs(derive): Note using fully-qualified path 2021-12-08 19:58:41 -06:00
LICENSE-APACHE docs: Ensure all crates have license files 2021-10-04 14:45:31 -05:00
LICENSE-MIT docs(license): Update years/holders 2022-06-27 12:55:09 -05:00
README.md chore: Release 2022-06-28 08:04:18 -05:00

clap_derive

Macro implementation for clap's derives.

docs.rs

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING for more details.