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

Function path

packages/effect/src/unstable/cli/Argument.ts:189–192  ·  view source on GitHub ↗
(name: string, options?: {
  pathType?: "file" | "directory" | "either"
  mustExist?: boolean
})

Source from the content-addressed store, hash-verified

187 * @since 4.0.0
188 */
189export const path = (name: string, options?: {
190 pathType?: "file" | "directory" | "either"
191 mustExist?: boolean
192}): Argument<string> => Param.path(Param.argumentKind, name, options)
193
194/**
195 * Creates a positional redacted argument that obscures its value.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected