clap/clap_derive/tests
Ed Page 6cc76e7237 fix(derive): Clap should not derive ArgEnum
While having convinience derives can be helpful, deriving traits that
are not used in similar situations (`Clap` and `ArgEnum`) can make
things harder
- From a user, derives are opaque and create uncertainty on how to use
  the API if not kept crystal clear (deriving a name gives you the trait
  by that name)
- This makes documentation harder to write and read
- You can use types in unintended places, which is made worse for crate
  APIs because changing this breaks compatibility.

Fixes #2584
2021-07-14 10:50:26 -05:00
..
ui Merge #2115 2020-08-28 11:31:47 +00:00
app_name.rs Fix issue #2181 2021-02-22 15:01:02 +01:00
arg_enum.rs fix(derive): Clap should not derive ArgEnum 2021-07-14 10:50:26 -05:00
argument_naming.rs fix: Use character instead of string for Arg::Short 2020-06-17 09:45:05 -07:00
arguments.rs Merged clap_derive using git-subtree 2020-01-18 17:40:07 +05:30
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 Rename with_name to new for Arg & ArgGroup 2020-05-14 22:50:56 +02: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 Rename flag parameter to not clash with subcommand 2021-05-19 19:42:39 +01: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