MCPcopy Index your code
hub / github.com/Effect-TS/effect / list

Function list

packages/cli/src/internal/prompt/list.ts:6–9  ·  view source on GitHub ↗
(options: Prompt.Prompt.ListOptions)

Source from the content-addressed store, hash-verified

4
5/** @internal */
6export const list = (options: Prompt.Prompt.ListOptions): Prompt.Prompt<Array<string>> =>
7 InternalTextPrompt.text(options).pipe(
8 InternalPrompt.map((output) => output.split(options.delimiter || ","))
9 )

Callers

nothing calls this directly

Calls 4

splitMethod · 0.80
pipeMethod · 0.65
mapMethod · 0.65
textMethod · 0.45

Tested by

no test coverage detected