get Suggestions
abstract fun getSuggestions(topLevelName: String, candidates: List<TopLevelTextCommandInfo>): Collection<TopLevelTextCommandInfo>(source)
Computes command suggestions from the user input and the available commands.
Commands are already filtered to only include those which can be shown, only requiring you to match against the user input.
Return
The list of commands suggested to the user
Parameters
top Level Name
The user input, which should correspond to the top level command
candidates
The available commands, all of them can be shown to the user