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

Function text

packages/effect/src/unstable/cli/Prompt.ts:1259–1261  ·  view source on GitHub ↗
(
  options: TextOptions
)

Source from the content-addressed store, hash-verified

1257 * @since 4.0.0
1258 */
1259export const text = (
1260 options: TextOptions
1261): Prompt<string> => basePrompt(options, "text")
1262
1263/**
1264 * Creates a toggle prompt that lets the user switch between active and inactive

Callers 1

listFunction · 0.70

Calls 1

basePromptFunction · 0.85

Tested by

no test coverage detected