MCPcopy Create free account
hub / github.com/chhoumann/quickadd / createCommand

Function createCommand

src/gui/MacroGUIs/UserScriptSettingsModal.test.ts:24–32  ·  view source on GitHub ↗
(settings: Record<string, unknown> = {})

Source from the content-addressed store, hash-verified

22}));
23
24function createCommand(settings: Record<string, unknown> = {}): IUserScript {
25 return {
26 id: "command-1",
27 name: "Script",
28 type: CommandType.UserScript,
29 path: "scripts/script.js",
30 settings,
31 };
32}
33
34function createSettings(optionOverrides: Record<string, unknown> = {}) {
35 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected