mapCommand

Adds a mapping where the value to map is given by the constant name and will be mapped to a fixed destination of Dispatch.Keys.COMMAND_NAME.

Returns a CommandOptions with which to configure some options if required.

Parameters

name

The command name to map to the constant command key, Dispatch.Keys.COMMAND_NAME