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

Function renderSelectOutput

packages/effect/src/unstable/cli/Prompt.ts:3091–3096  ·  view source on GitHub ↗
(
  leadingSymbol: string,
  trailingSymbol: string,
  options: SelectOptionsReq<A>,
  renderOptions?: RenderOptions | undefined
)

Source from the content-addressed store, hash-verified

3089 Option.getOrElse(Arr.findFirstIndex(state.filtered, (index) => index === state.index), () => 0)
3090
3091const renderSelectOutput = <A>(
3092 leadingSymbol: string,
3093 trailingSymbol: string,
3094 options: SelectOptionsReq<A>,
3095 renderOptions?: RenderOptions | undefined
3096) => renderPrompt("", options.message, leadingSymbol, trailingSymbol, renderOptions)
3097
3098const renderAutoCompleteFilter = <A>(
3099 state: AutoCompleteState,

Callers 3

Prompt.tsFile · 0.85
handleMultiSelectClearFunction · 0.85
handleSelectClearFunction · 0.85

Calls 1

renderPromptFunction · 0.85

Tested by

no test coverage detected