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 SubCommand
s.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of theArgument
s on this syntax.withArgument
(Argument arg) Adds an argument to the list.
-
Constructor Details
-
Syntax
public Syntax()Represents a syntax for a command. EveryArgument
gets used at tab completion and handling argument validness. ASyntax
can be used to generate usage for the command. Required forBaseCommand
andSubCommand
s.
-
-
Method Details