public class CommandUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Comparator<org.enginehub.piston.Command> |
byCleanName() |
static java.util.List<java.lang.String> |
fixSuggestions(java.lang.String arguments,
java.util.List<Substring> suggestions)
Fix
suggestions to replace the last space-separated word in arguments . |
static java.util.Map<java.lang.String,org.enginehub.piston.Command> |
getSubCommands(org.enginehub.piston.Command currentCommand) |
public static java.util.Map<java.lang.String,org.enginehub.piston.Command> getSubCommands(org.enginehub.piston.Command currentCommand)
public static java.util.Comparator<org.enginehub.piston.Command> byCleanName()
public static java.util.List<java.lang.String> fixSuggestions(java.lang.String arguments, java.util.List<Substring> suggestions)
suggestions
to replace the last space-separated word in arguments
.