Skip to content

PluginCommandRegistrar.addCommand method

PluginCommandRegistrar › addCommand

Adds a command to the plugin.

Signature:

addCommand(command: Command): void

Parameters:

ParameterTypeDescription
commandCommandThe command to add.

Returns: void