Skip to content

CommandHandler.buildCommand method

CommandHandler › buildCommand

Builds a plain Obsidian Command object for registration.

Signature:

buildCommand(): Command

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