Closed
Description
One trouble in #379 when I started to implement it is that while it's easy to make CommandRegistry
writable and register new methods based on MethodTarget
this process from a user perspective is a bit cumbersome.
Essentially we still need to make custom pojo:
public static class PojoMethods {
@ShellMethod
public String dynamic1() {
return "dynamic1";
}
@ShellMethod
public String dynamic2(String arg1) {
return "dynamic2" + arg1;
}
}
and have those methods with dummy @ShellMethod
for StandardParameterResolver
to read parameters.
Metadata
Metadata
Assignees
Labels
No labels