Annotation
Option
annotation can be used to define an option name if you
don’t want it to be same as argument name.
@Command
public String example(@Option(longNames = "arg") String arg1) {
return "Hello " + arg1;
}
Option
annotation can be used to define an option name if you
don’t want it to be same as argument name.
@Command
public String example(@Option(longNames = "arg") String arg1) {
return "Hello " + arg1;
}