Interface ISemanticCommandOptions

Semantic command(s) options

interface ISemanticCommandOptions {
    commands: CommandRegistry;
    default?: ISemanticCommandDefault;
    id: string;
    overrides?: Omit<ICommandOptions, "execute">;
    semanticCommands: SemanticCommand | SemanticCommand[];
    shell: IShell;
    trans?: IRenderMime.TranslationBundle;
}

Properties

commands: CommandRegistry

Application command registry

Default commands options

It will be used if the enabled command is not defining one or if no command is enabled.

id: string

Semantic command ID

overrides?: Omit<ICommandOptions, "execute">

Override commands options

It will override the enabled command attribute.

semanticCommands: SemanticCommand | SemanticCommand[]

Semantic commands

shell: IShell

Application shell

Domain specific translation object.