Fix alias handling with @Command annotation

- Revisit how alias commands are added using
  @Command annotation when using if/or on class
  and/or method level.
- With this change alias handling is more logical
  and there's better tests and docs.
- Backport #945
- Fixes #973
This commit is contained in:
Janne Valkealahti
2024-01-13 12:19:12 +00:00
parent be6a25b221
commit 134af2dbd2
8 changed files with 409 additions and 11 deletions

View File

@@ -13,6 +13,7 @@
*** xref:commands/exceptionhandling/resolving.adoc[]
*** xref:commands/exceptionhandling/mappings.adoc[]
*** xref:commands/exceptionhandling/annotation.adoc[]
** xref:commands/alias.adoc[]
** xref:commands/hidden.adoc[]
** xref:commands/helpoptions.adoc[]
** xref:commands/interactionmode.adoc[]