Expand description
A text command handler for the Bevy engine.
The core API of this library are the CommandBuilder and the CommandPlugin structs.
Modules§
- builtins
- Built-in argument types and commands.
- stored_
sys - Provides a structure for storing type-erased systems to be registered to an
App.
Structs§
- Argument
Definition - A command argument definition.
- Argument
Registry - The argument registry.
- Command
Builder - A command builder.
- Command
Context - A command context, passed to a command handler to provide arguments and an output sink.
- Command
Input - A text supplier for the command plugin.
- Command
Plugin - A command plugin. This registers:
- Command
Registry - The command registry. This stores pairs of command names and registered commands.
- Parse
Error - A parser error.
- Registered
Command - A command that has been registered to an
App. - Subcommand
Group Builder - A subcommand group builder.
Enums§
- Command
Result - A command result.
- Output
Event - Indicates the output and result of a command, sent by the command plugin.
- Parse
Error Kind - A parser error kind.
- Router
Error - An error returned by the command router.
Traits§
- Argument
- Defines a parser for argument types, as well as providing downcast for them.
Type Aliases§
- Command
Handler - A system representing a command handler.
- Registered
Command Handler - A system representing a registered command handler. This differs from
CommandHandlerbecause it is a reference to a system, not the actual system.