MCPcopy Index your code
hub / github.com/anomalyco/opencode / questionInput

Function questionInput

packages/opencode/src/cli/cmd/run/question.shared.ts:74–76  ·  view source on GitHub ↗
(state: QuestionBodyState)

Source from the content-addressed store, hash-verified

72}
73
74export function questionInput(state: QuestionBodyState): string {
75 return state.custom[state.tab] ?? ""
76}
77
78export function questionPicked(state: QuestionBodyState): boolean {
79 const value = questionInput(state)

Callers 4

RunQuestionBodyFunction · 0.90
questionPickedFunction · 0.85
questionSelectFunction · 0.85
questionSaveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected