MCPcopy Index your code
hub / github.com/Acode-Foundation/Acode / removeExternalCommand

Function removeExternalCommand

src/cm/commandRegistry.js:1638–1645  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

1636}
1637
1638export function removeExternalCommand(name) {
1639 if (!name) return false;
1640 const exists = commandMap.has(name);
1641 if (!exists) return false;
1642 commandMap.delete(name);
1643 rebuildKeymap();
1644 return true;
1645}
1646
1647export function refreshCommandKeymap(view) {
1648 const resolvedView = resolveView(view);

Callers 2

removeCommandMethod · 0.90
removeCommandFunction · 0.90

Calls 2

rebuildKeymapFunction · 0.85
deleteMethod · 0.65

Tested by

no test coverage detected