Replies: 1 comment
-
|
No, sorry, I don’t think that is possible. On Jul 10, 2025, at 15:53, Marco Descher ***@***.***> wrote:
I would like to re-use the javadoc of a method as command description, could something like this be possible?
package some.task;
import some.model.Task;
import picocli.CommandLine.Command;
@command(name = "print", description = "{javadoc:r.getTaskService().findTask()}")
public class TaskPrintCommand extends AbstractTaskCommand {
@OverRide
protected void doRun() {
Task task = r.getTaskService().findTask(r.dynUrl(), taskIdOrReferenceId);
System.out.println(r.gson().toJson(task));
}
}
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
col-panic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to re-use the javadoc of a method as command description, could something like this be possible?
Beta Was this translation helpful? Give feedback.
All reactions