CommandHandlerRegistrationContext
Context provided to command handlers during registration.
Import:
import type { CommandHandlerRegistrationContext } from 'obsidian-dev-utils/obsidian/command-handlers/command-handler';Signature:
export interface CommandHandlerRegistrationContextProperties
| Property | Type | Description |
|---|---|---|
| activeFileProvider | ActiveFileProvider | Provider for accessing the currently active file. |
| menuEventRegistrar | MenuEventRegistrar | Registrar for menu event handlers. |
| pluginName | string | The name of the plugin that owns this command. |