CommandRegistrar
A registrar for commands.
Import:
import type { CommandRegistrar } from '@mnaoumov/obsidian-lib/command-registrar';Signature:
export interface CommandRegistrarProperties
| Property | Type | Description |
|---|---|---|
| addCommand | (command: Command) => void | Adds a command to the registrar. |
| removeCommand | (commandId: string) => void | Removes a command from the registrar. |
Links to this page: