Function Commandable.registerCommand

Registers a command from a CommandObject

Prototype

CommandObject registerCommand(
  CommandObject obj
);