Skip to main content

Interface: Command

Represents a reference to a command. Provides a title which will be used to represent a command in the UI and, optionally, an array of arguments which will be passed to the command handler function when invoked.

Properties

arguments?

optional arguments: any[]

Defined in

packages/extension-api/src/extension-api.d.ts:55


command

command: string

Defined in

packages/extension-api/src/extension-api.d.ts:52


title

title: string

Defined in

packages/extension-api/src/extension-api.d.ts:51


tooltip?

optional tooltip: string

Defined in

packages/extension-api/src/extension-api.d.ts:53