An optional type for the data the handler expects to
The OptionsConfig
type that represents all options
for the command.
The return type of the command handler.
The config for constructing the CommandModule
.
A constructed CommandModule
object with strong types.
Factory function to create a
CommandModule
object with strong typing. This is used to define a command with its associated metadata, options, and handler logic.