Skip to main content

Crate yog_command

Crate yog_command 

Source
Expand description

Command domain — the context passed to a command handler.

A mod registers a command by name on the registry; when a player runs /<name> <args>, its handler receives a CommandContext and may return a reply string sent back to the source.

Structs§

CommandContext
Details of a command invocation.

Enums§

Fit
How a handler takes a command’s arguments.

Constants§

GREEDY
The argument type that takes the rest of the line.