MCPcopy Create free account
hub / github.com/Make-md/makemd / createCommand

Method createCommand

src/shared/types/spaceManager.ts:72–72  ·  view source on GitHub ↗
(path: string, schema: SpaceTableSchema)

Source from the content-addressed store, hash-verified

70 commandsForSpace(path: string): Promise<Command[]>;
71 runCommand(path: string, name: string, instance: ActionInstance): Promise<CommandResult>;
72 createCommand(path: string, schema: SpaceTableSchema): Promise<boolean>;
73 deleteCommand(path: string, name: string): Promise<boolean>;
74 saveCommand(path: string, schemaId: string, saveCommand: (prev: Command) => Command): Promise<boolean>;
75 allPaths(type?: string[]): string[];

Callers 5

createCommandMethod · 0.65
AFunction · 0.65
newActionFunction · 0.65
newActionFunction · 0.65
createCommandMethod · 0.65

Implementers 1

SpaceManagersrc/core/spaceManager/spaceManager.ts

Calls

no outgoing calls

Tested by

no test coverage detected