Create a command instance from a CommandConfig
Thrown if the command has not been registered yet
The command configuration
Optional
getAlpha
Get a list of configs for all registered commands
Get a handler associated with a command
the handler for the command class
The command class
Execute the given command with it's registered command handler
result from the command handler
command to execute
Check if a command is supported
true if the command is supported, false otherwise
identifier of the command. Can be either the class or the string the class was registered with
Register a command to be executed by the given handler
type of command
the handler instance used to execute the command
Alpha
Register a command to be executed by the given handler
type of command
the handler instance used to execute the command
Optional
metadata: Omit<CommandMetadata, "id">metadata for the command
Service for registering and executing commands