effect-io-ai

Package: @effect/cli
Module: Args

Args.fileParse

Creates a file argument that reads and parses its contents.

Can optionally provide a custom argument name (defaults to "file").

Signature

declare const fileParse: (config?: Args.FormatArgsConfig | undefined) => Args<unknown>

Source

Since v1.0.0