Crate bevy_commodore

Crate bevy_commodore 

Source
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§

ArgumentDefinition
A command argument definition.
ArgumentRegistry
The argument registry.
CommandBuilder
A command builder.
CommandContext
A command context, passed to a command handler to provide arguments and an output sink.
CommandInput
A text supplier for the command plugin.
CommandPlugin
A command plugin. This registers:
CommandRegistry
The command registry. This stores pairs of command names and registered commands.
ParseError
A parser error.
RegisteredCommand
A command that has been registered to an App.
SubcommandGroupBuilder
A subcommand group builder.

Enums§

CommandResult
A command result.
OutputEvent
Indicates the output and result of a command, sent by the command plugin.
ParseErrorKind
A parser error kind.
RouterError
An error returned by the command router.

Traits§

Argument
Defines a parser for argument types, as well as providing downcast for them.

Type Aliases§

CommandHandler
A system representing a command handler.
RegisteredCommandHandler
A system representing a registered command handler. This differs from CommandHandler because it is a reference to a system, not the actual system.