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

Function file

packages/effect/src/unstable/cli/Argument.ts:97–99  ·  view source on GitHub ↗
(name: string, options?: {
  readonly mustExist?: boolean | undefined
})

Source from the content-addressed store, hash-verified

95 * @since 4.0.0
96 */
97export const file = (name: string, options?: {
98 readonly mustExist?: boolean | undefined
99}): Argument<string> => Param.file(Param.argumentKind, name, options)
100
101/**
102 * Creates a positional directory path argument.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected