Closed
Description
It would be useful to have the ability to prefix all commands defined in a ShellComponent.
For instance:
@ShellComponent(prefix = "backend")
public class BackendCommands {
@ShellMethod("Connect to the backend.")
public void connect(String token) throws Exception {
...
}
}
This would result in a "backend.connect" command.
A prefix ability would allow more consistency in command naming. For instance, you could also have "db.connect" and "kibana.connect" commands. Furthermore, using command line completion after typing the "backend" prefix would give you a nice overview of all backend related commands.
Metadata
Metadata
Assignees
Labels
No labels