Interface ICommandDescriptor

Description of a command contribution

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

Properties

Properties

id: string

An unique identifier of the contributed command.

Callback that will be executed when the command is triggered.