MCPcopy Create free account
hub / github.com/alibaba/lowcode-engine / registerCommand

Method registerCommand

packages/shell/src/api/command.ts:23–25  ·  view source on GitHub ↗
(command: IPublicTypeCommand)

Source from the content-addressed store, hash-verified

21 }
22
23 registerCommand(command: IPublicTypeCommand): void {
24 this[commandSymbol].registerCommand(command, this[optionsSymbol]);
25 }
26
27 batchExecuteCommand(commands: { name: string; args: IPublicTypeCommandHandlerArgs }[]): void {
28 this[commandSymbol].batchExecuteCommand(commands, this[pluginContextSymbol]);

Callers

nothing calls this directly

Calls 1

registerCommandMethod · 0.65

Tested by

no test coverage detected