obsidian/command-handlers/command-handler
Base class and interfaces for command handlers.
Classes
Section titled “Classes”| Class | Description |
|---|---|
| CommandHandler | Base class for command handlers. Unlike the Obsidian Command interface, handlers are never mutated by Obsidian. The buildCommand method produces a plain Command object for registration. |
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| CommandHandlerConstructorParams | Parameters for creating a command handler. |
| CommandHandlerRegistrationContext | Context provided to command handlers during registration. |