command
A DSL function to create and register a command.
This function simplifies the creation and registration of a command using a DSL-style builder.
Parameters
name
The name of the command.
builder
A lambda block used to configure the CommandBuilder.