| Package | Description |
|---|---|
| me.lucko.helper.command.argument | |
| me.lucko.helper.command.context |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleArgument |
| Modifier and Type | Method and Description |
|---|---|
default Optional<T> |
ArgumentParser.parse(Argument argument)
Tries to parse the value from the argument
|
default T |
ArgumentParser.parseOrFail(Argument argument)
Parses the value from an argument, throwing an interrupt exception if
parsing failed.
|
| Modifier and Type | Method and Description |
|---|---|
Argument |
CommandContext.arg(int index)
Gets the argument at a the given index
|
Argument |
ImmutableCommandContext.arg(int index) |
Copyright © 2022. All rights reserved.