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.
- Fixes #945
This commit is contained in:
Janne Valkealahti
2024-01-13 12:19:12 +00:00
parent c0301933fd
commit a37bd6ad5a
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[]