Skip to content

CommandRegistrar

A registrar for commands.

Import:

import type { CommandRegistrar } from '@mnaoumov/obsidian-lib/command-registrar';

Signature:

export interface CommandRegistrar

Properties

PropertyTypeDescription
addCommand(command: Command) => voidAdds a command to the registrar.
removeCommand(commandId: string) => voidRemoves a command from the registrar.

Links to this page: