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

Method run

src/engine/MacroChoiceEngine.ts:268–277  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266 }
267
268 async run(): Promise<void> {
269 if (!this.macro || !this.macro.commands) {
270 log.logError(
271 `No commands in the macro for choice '${this.choice.name}'`
272 );
273 return;
274 }
275
276 await this.executeCommands(this.macro.commands);
277 }
278
279 public getOutput(): unknown {
280 return this.output;

Callers 3

onChooseMacroTypeMethod · 0.95
runAndGetOutputMethod · 0.95
executeEditorCommandMethod · 0.45

Calls 2

executeCommandsMethod · 0.95
logErrorMethod · 0.65

Tested by

no test coverage detected