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

Function select

packages/opencode/src/cli/cmd/run/footer.command.tsx:519–526  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

517 props.onCommand(item.name)
518 }
519 const select = () => {
520 const item = items()[menu.selected()]
521 if (!item) {
522 return
523 }
524
525 pick(item)
526 }
527
528 createEffect(() => {
529 query()

Callers

nothing calls this directly

Calls 2

pickFunction · 0.70
itemsFunction · 0.50

Tested by

no test coverage detected