Register a class as a command
callback which accepts a CommandClass and sets the command id
CommandClass
a CommandOptions object containing the id of the command
Register a class as a command
Returns
callback which accepts a
CommandClass
and sets the command id