clap/tests/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
..
legacy test(derive): Ensure we don't break compatibility 2022-06-02 16:56:14 -05:00
app_name.rs fix: Rename IntoApp to CommandFactory 2022-02-15 08:24:00 -06:00
arg_enum.rs fix: Deprecate possible_values 2022-05-25 12:57:11 -05:00
arguments.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
author_version_about.rs chore: Fix clap_derive license headers 2022-01-04 14:25:48 -06:00
basic.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
boxed.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
custom_string_parsers.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
default_value.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
deny_warnings.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
doc_comments_help.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
explicit_name_no_renaming.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
flags.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
flatten.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
generic.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
help.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
issues.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
macros.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
main.rs test(derive): Ensure we don't break compatibility 2022-06-02 16:56:14 -05:00
naming.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
nested_subcommands.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
non_literal_attributes.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
options.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
privacy.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
raw_bool_literal.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
raw_idents.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
rename_all_env.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
skip.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
structopt.rs fix(help): Subcommand help looks like --help 2022-02-11 12:47:34 -06:00
subcommands.rs feat(derive): Expose control over Actions 2022-06-06 11:35:07 -05:00
type_alias_regressions.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
utf8.rs fix: Deprecate validator / validator_os 2022-05-25 12:57:11 -05:00
utils.rs fix: Rename IntoApp to CommandFactory 2022-02-15 08:24:00 -06:00