MCPcopy
hub / github.com/callumalpass/tasknotes / addToMenu

Method addToMenu

src/components/TaskContextMenu.ts:160–162  ·  view source on GitHub ↗
(menu: Menu, options: TaskContextMenuOptions)

Source from the content-addressed store, hash-verified

158 }
159
160 static addToMenu(menu: Menu, options: TaskContextMenuOptions): void {
161 new TaskContextMenu(options, menu);
162 }
163
164 private t(key: string, params?: Record<string, string | number>): string {
165 return this.options.plugin.i18n.translate(key, params);

Callers 2

populateTaskMenuMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected