Skip to content

CommandHandler.buildCommand method

CommandHandler › buildCommand

Builds a plain Obsidian Command object for registration.

Signature:

buildCommand(): Command

Returns: CommandA new Command object. Obsidian may mutate this object after registration.