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

Function questionKind

packages/opencode/src/cli/cmd/run/demo.ts:49–52  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

47}
48
49function questionKind(value: string | undefined): QuestionKind | undefined {
50 const next = (value || "multi").toLowerCase()
51 return QUESTIONS.find((item) => item === next)
52}
53
54const SAMPLE_MARKDOWN = [
55 "# Direct Mode Demo",

Callers 1

promptFunction · 0.85

Calls 1

findMethod · 0.65

Tested by

no test coverage detected