Add support for @Command-annotated methods to codegen tools (was:ManPageGenerator: Can't find annotated method) #1858
Labels
status: help-wanted 🆘
theme: codegen
An issue or change related to the picocli-codegen module
type: enhancement ✨
I'm using picocli 4.6.3 with Gradle.
I had a class method annotated with
@Command
that worked properly, but when I tried to generate a man page for it, I got the following error:The workaround was to move the annotation to the class itself (and supporting changes), but I actually preferred annotating a method and passing it
@Mixin
with all the options.The fix (I believe) would be to add a way of specifying an annotated method to
ManPageGenerator
.PS: You can see the changes I made to workaround here: ConsensusJ/WalletLedgerExport@22f4ba0#diff-f423761483c976760e2804c688f91600118acc272816cce90c6fe568ede763cd
The text was updated successfully, but these errors were encountered: