MCPcopy Create free account
hub / github.com/CatMuse/HiNote / registerPluginCommands

Function registerPluginCommands

src/plugin/PluginBootstrap.ts:33–37  ·  view source on GitHub ↗
(plugin: CommentPlugin, windowManager: WindowManager)

Source from the content-addressed store, hash-verified

31}
32
33export function registerPluginCommands(plugin: CommentPlugin, windowManager: WindowManager): void {
34 registerCommands(plugin, windowManager, async () => {
35 await plugin.ensureServicesInitialized();
36 });
37}
38
39export function registerPluginVaultEvents(plugin: CommentPlugin): void {
40 plugin.registerEvent(

Callers 1

onloadMethod · 0.90

Calls 2

registerCommandsFunction · 0.90

Tested by

no test coverage detected