MCPcopy Create free account
hub / github.com/anomalyco/opencode / trigger

Function trigger

packages/app/src/context/command.tsx:424–426  ·  view source on GitHub ↗
(id: string, source?: CommandSource)

Source from the content-addressed store, hash-verified

422 return {
423 register,
424 trigger(id: string, source?: CommandSource) {
425 run(id, source)
426 },
427 keybind(id: string) {
428 const config = keybindConfig(id)
429 if (!config) return ""

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected