Package studio.mevera.imperat.context
Interface CommandContext<S extends CommandSource>
- Type Parameters:
S- the command sender valueType
- All Known Subinterfaces:
ExecutionContext<S>,SuggestionContext<S>
Represents the processes context of a command
entered by
CommandSource-
Method Details
-
imperat
- Returns:
- imperat's instance
-
imperatConfig
ImperatConfig<S> imperatConfig()- Returns:
- the config for imperat
-
command
- Returns:
- The
Commandowning this context.
-
source
- Returns:
- the
CommandSourceof the command - See Also:
-
getRootCommandLabelUsed
- Returns:
- the root command entered by the
CommandSource
-
arguments
ArgumentInput arguments()- Returns:
- the arguments entered by the
CommandSource - See Also:
-