MCPcopy Create free account
hub / github.com/Effect-TS/effect / getValue

Function getValue

packages/cli/src/internal/prompt/text.ts:27–29  ·  view source on GitHub ↗
(state: State, options: Options)

Source from the content-addressed store, hash-verified

25}
26
27function getValue(state: State, options: Options): string {
28 return state.value.length > 0 ? state.value : options.default
29}
30
31const renderBeep = Doc.render(Doc.beep, { style: "pretty" })
32

Callers 3

renderInputFunction · 0.85
processTabFunction · 0.85
handleProcessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…