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

Function fileSchema

packages/effect/src/unstable/cli/Argument.ts:275–279  ·  view source on GitHub ↗
(
  name: string,
  schema: Schema.ConstraintDecoder<A, Environment>,
  options?: Primitive.FileSchemaOptions | undefined
)

Source from the content-addressed store, hash-verified

273 * @since 4.0.0
274 */
275export const fileSchema = <A>(
276 name: string,
277 schema: Schema.ConstraintDecoder<A, Environment>,
278 options?: Primitive.FileSchemaOptions | undefined
279): Argument<A> => Param.fileSchema(Param.argumentKind, name, schema, options)
280
281/**
282 * Creates an empty sentinel argument that always fails to parse.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected