Interface ICommandDescriptor

Expand description

Description of a command contribution

interface ICommandDescriptor {
    id: string;
    run: ICommandHandler;
}

Properties§

§id: string

An unique identifier of the contributed command.

§run: ICommandHandler

Callback that will be executed when the command is triggered.