clap/clap_derive
Ed Page 647896d929 feat(derive): Expose control over Actions
This is the derive support for #3774 (see also #3775, #3777)

This combined with `value_parser` replaces `parser`.  The main
frustration with this is that `ArgAction::Count` (the replacement for
`parse(from_occurrences)` must be a `u64`.  We could come up with a
magic attribute that is meant to be the value parser's parsed type.  We
could then use `TryFrom` to convert the parsed type to the user's type
to allow more.  That is an exercise for the future.  Alternatively, we
have #3792.

Prep for this included
- #3782
- #3783
- #3786
- #3789
- #3793
2022-06-06 11:35:07 -05:00
..
src feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
Cargo.toml fix: Switch to 2021 edition 2022-05-18 10:35:30 -05: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: Ensure all crates have license files 2021-10-04 14:45:31 -05:00
README.md chore: Release 2022-05-10 15:29:16 -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.