-
Notifications
You must be signed in to change notification settings - Fork 1
SubClasses sub subcommands
Marcin Grzywacz edited this page Nov 4, 2022
·
1 revision
From 0.7.18
Following code:
class TestCMD {
fun b(ex: CommandSender): String {
return "i am king"
}
class SomeOtherCMD {
fun c(ex: CommandSender): String {
return "Hello world"
}
}
}
Generates the following two commands:
/test b - returns i am king
/test someother c - returns hello world
Because subclass is now considered a subcommand in the supcommand
- Maven installation
- Using in java
- Initializing commands
- I18n
- Annotations
- Additional
- Errors