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

Function getTheme

packages/effect/src/cli/Prompt.ts:700–701  ·  view source on GitHub ↗
(options: ThemeOptions)

Source from the content-addressed store, hash-verified

698})
699
700const getTheme = (options: ThemeOptions): Effect.Effect<Theme> =>
701 Effect.map(Theme, (theme) => ({ ...theme, ...options.theme }))
702
703/**
704 * Type alias for any `Prompt`, regardless of its output type.

Callers 8

handleConfirmClearFunction · 0.85
Prompt.tsFile · 0.85
handleDateClearFunction · 0.85
handleFileClearFunction · 0.85
handleMultiSelectClearFunction · 0.85
handleNumberClearFunction · 0.85
handleSelectClearFunction · 0.85
handleAutoCompleteClearFunction · 0.85

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected