clap/clap_derive/tests
Ed Page c485ae517b fix(derive): Follow value_name convention
I debated putting this fix inside of the Builder API but I figure this
makes it so you "pay for what you use", with the derive API giving it to
you "for free".

A potential next step is to improve the default value name.  I tend to
use value_name to hint at how to use an argument, which correlates with
types.  We could add a
`ValueName::value_name(fallback: &str) -> &str` with impls for common
types, so we get more of a usage-based result.

Fixes #2608
2021-07-26 10:01:32 -05:00
..
ui chore(derive): Ensure license is recorded for subcommand 2021-07-15 12:04:04 -05:00
app_name.rs Fix issue #2181 2021-02-22 15:01:02 +01:00
arg_enum.rs feat(derive): Allow skipping ArgEnum variants 2021-07-16 17:04:20 -05:00
argument_naming.rs fix: Use character instead of string for Arg::Short 2020-06-17 09:45:05 -07:00
arguments.rs fix(derive): Follow value_name convention 2021-07-26 10:01:32 -05:00
author_version_about.rs Use 'Clap Maintainers' as authors 2020-02-10 20:16:25 +01:00
basic.rs Removed Arg::multiple 2021-06-16 07:17:11 +01:00
boxed.rs wip: Add tests and user-facing functions 2020-11-14 10:17:13 +01:00
custom-string-parsers.rs Removed Arg::multiple 2021-06-16 07:17:11 +01:00
default_value.rs Default value for default_value (yeah, sounds awkward) 2020-02-04 11:40:01 +03:00
deny-warnings.rs Extract subcommands into separate trait 2020-02-12 23:15:05 +03:00
doc-comments-help.rs Fix compatibility with help2man output (see #1432) 2021-02-27 16:20:52 +01:00
explicit_name_no_renaming.rs Removed Arg::multiple 2021-06-16 07:17:11 +01:00
flags.rs Merged clap_derive using git-subtree 2020-01-18 17:40:07 +05:30
flatten.rs wip: Add tests and user-facing functions 2020-11-14 10:17:13 +01:00
issues.rs fix(derive)!: Compile-error on nested subcommands 2021-07-15 11:45:13 -05:00
nested-subcommands.rs fix: Clippy should pass 2020-02-01 06:48:50 +01:00
nested.rs fix(clap_derive): Unwrap syn::TypeGroup when checking field types 2020-06-29 11:25:55 -04:00
non_literal_attributes.rs Implement NoEquals error 2021-03-09 17:56:57 +00:00
options.rs Removed Arg::multiple 2021-06-16 07:17:11 +01:00
privacy.rs Remove every proc_macro_derive except Clap 2020-03-02 16:28:35 +01:00
raw_bool_literal.rs Get rid of #[clap(no_version)] 2020-02-05 16:54:58 +03:00
raw_idents.rs Removed Arg::multiple 2021-06-16 07:17:11 +01:00
rename_all_env.rs Introduce #[structopt(rename_all_env)] 2020-02-03 17:56:17 +03:00
skip.rs Add a skip test 2020-11-14 11:09:39 +01:00
special_types.rs Fix clippy warnings. 2021-05-07 19:05:18 +00:00
subcommands.rs fix(derive): Allow partial update of Subcommand arguments 2021-07-19 11:13:22 -05:00
ui.rs Fix ui tests 2020-11-28 19:16:58 +00:00
utils.rs Fix test 2020-07-06 17:26:53 +03:00