Closed
Description
@Command(command = "foo", alias = "f")
public class MyCommand {
@Command(command = "", alias = "")
// @Command
public String emptySub() {
return "empty sub";
}
@Command(command = "bar", alias = "b")
public String bar() {
return "foo bar";
}
}
shell:>foo bar
foo bar
shell:>f b
foo bar
shell:>foo
empty sub
shell:>f
No command found for 'f'
shell:>
I can't use the f
command