Skip to content

obsidian/command-handlers/file-command-handler

Command handler for file-specific commands (TFile only, not TFolder).

ClassDescription
FileCommandHandlerCommand handler for file-specific commands. Filters abstract files to only accept TFile instances. Subclasses override canExecuteFile and executeFile.
InterfaceDescription
FileCommandHandlerShouldAddToFileMenuParamsParameters for FileCommandHandler.shouldAddToFileMenu.
FileCommandHandlerShouldAddToFilesMenuParamsParameters for FileCommandHandler.shouldAddToFilesMenu.