MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / execCommand

Method execCommand

src/lib/acode.js:999–1003  ·  view source on GitHub ↗
(name, view, args)

Source from the content-addressed store, hash-verified

997 }
998
999 execCommand(name, view, args) {
1000 if (!name) return false;
1001 const targetView = view || window.editorManager?.editor;
1002 return runCommand(name, targetView, args);
1003 }
1004
1005 listCommands() {
1006 return listRegisteredCommands();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected