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

Function Password

packages/effect/src/cli/Prompt.ts:1238–1240  ·  view source on GitHub ↗
(
  options: TextOptions
)

Source from the content-addressed store, hash-verified

1236 * @since 4.0.0
1237 */
1238export const Password = (
1239 options: TextOptions
1240): Prompt<Redacted.Redacted> => basePrompt(options, "password").pipe(map(Redacted.make))
1241
1242/**
1243 * Runs a prompt by reading terminal input and rendering prompt frames until the

Callers

nothing calls this directly

Calls 3

basePromptFunction · 0.85
pipeMethod · 0.65
mapFunction · 0.50

Tested by

no test coverage detected