-
I read the documentation for subcommand as the method it seems method subcommand can't have a return value |
Beta Was this translation helpful? Give feedback.
Answered by
remkop
Sep 8, 2022
Replies: 2 comments 3 replies
-
Oh I see, the examples in the manual all return If you return an |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
remkop
-
I updated the user manual: e3901e3 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh I see, the examples in the manual all return
void
.Thanks for raising that. I will change one of them to return
int
.If you return an
int
from your@Command
-annotated method, that will be the exit code of that command.