Record Class SuggestionInfo<CommandSender>

java.lang.Object
java.lang.Record
dev.jorel.commandapi.SuggestionInfo<CommandSender>
Record Components:
sender - - the CommandSender typing this command
previousArgs - - a CommandArguments object holding previously declared (and parsed) arguments. This can be used as if it were arguments in a command executor method
currentInput - - a string representing the full current input (including /)
currentArg - - the current partially typed argument. For example "/mycmd tes" will return "tes"

public record SuggestionInfo<CommandSender>(CommandSender sender, CommandArguments previousArgs, String currentInput, String currentArg) extends Record
A class that represents information which you can use to generate suggestions.