0

I have 2 shell mehtods like this:

@ShellMethod(key = ["context set"])
fun setContext(dbContext: String) {
    println("Set db context to $dbContext")
}

@ShellMethod(key = ["context clear"])
fun clearContext() {
    println("Clear db context")
}

I set the key to start with "context" for better clarity. Is there a way to move the "context" to the group and have the shell methods inherit the key? I didin't find anything in the documentation about it. Thanks in advance.

0 Answers0