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

Function list

packages/effect/src/unstable/cli/Prompt.ts:1044–1047  ·  view source on GitHub ↗
(options: ListOptions)

Source from the content-addressed store, hash-verified

1042 * @since 4.0.0
1043 */
1044export const list = (options: ListOptions): Prompt<Array<string>> =>
1045 text(options).pipe(
1046 map((output) => output.split(options.delimiter || ","))
1047 )
1048
1049/**
1050 * Transforms the output value produced by a prompt.

Callers

nothing calls this directly

Calls 4

mapFunction · 0.85
textFunction · 0.70
pipeMethod · 0.65
splitMethod · 0.45

Tested by

no test coverage detected