Class Syntax
java.lang.Object
me.efekos.simpler.commands.syntax.Syntax
Represents a syntax for a command. Every
Argument is being used at tab completion and handling argument validness. A Syntax can be used to generate usage for the command. Required for BaseCommand and SubCommands.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of theArguments on this syntax.withArgument(Argument arg) Adds an argument to the list.
-
Constructor Details
-
Syntax
public Syntax()Represents a syntax for a command. EveryArgumentgets used at tab completion and handling argument validness. ASyntaxcan be used to generate usage for the command. Required forBaseCommandandSubCommands.
-
-
Method Details