MCPcopy Create free account
hub / github.com/effect-app/libs / select

Function select

repos/effect/packages/effect/src/unstable/cli/Prompt.ts:1121–1132  ·  view source on GitHub ↗
(options: SelectOptions<A>)

Source from the content-addressed store, hash-verified

1119 if (seenSelected !== -1) {
1120 initialIndex = seenSelected
1121 }
1122 return initialIndex
1123}
1124
1125/**
1126 * Creates a prompt that lets the user select a single value from a list of
1127 * choices.
1128 *
1129 * **Gotchas**
1130 *
1131 * At most one choice may be marked as selected by default.
1132 *
1133 * @category constructors
1134 * @since 4.0.0
1135 */

Callers 1

handleFunction · 0.50

Calls 5

getSelectInitialIndexFunction · 0.85
handleSelectRenderFunction · 0.85
handleSelectProcessFunction · 0.85
handleSelectClearFunction · 0.85
customFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…