Module brigadier_rs::parsers
source · Expand description
Collection of builtin parsers for several basic argument types.
Currently builtin
Currently there are argument type implementations for:
- literals:
LiteralArgument
- boolean:
BoolArgument
- i8, u8, i16, u16, i32, u32, i64, u64, f32, f64:
NumberArgument
Structs
Boolean argument parser.
Default
Then
implementation for any argument type.Default executor for command argument parsers.
Parser that parses a root command followed by
" help"
.Executor for a custom help message.
Literal argument parser.
Default
Then
implementation for argument parsers that return ()
.Default executor for
LiteralThen
.Numeric argument parser.
Default executor for
CommandThen
.Parser wrapper that correctly tries both child parsers.