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

Function password

repos/effect/packages/effect/src/unstable/cli/Prompt.ts:1060–1062  ·  view source on GitHub ↗
(
  options: TextOptions
)

Source from the content-addressed store, hash-verified

1058 incrementBy: 1,
1059 decrementBy: 1,
1060 precision: 2,
1061 validate: (n) => {
1062 if (n < opts.min) {
1063 return Effect.fail(`${n} must be greater than or equal to ${opts.min}`)
1064 }
1065 if (n > opts.max) {

Callers

nothing calls this directly

Calls 3

basePromptFunction · 0.85
pipeMethod · 0.65
mapFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…