effect-io-ai

Package: @effect/cli
Module: Args

Args.fileContent

Creates a file argument that reads its contents.

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

Signature

declare const fileContent: (config?: Args.BaseArgsConfig | undefined) => Args<readonly [path: string, content: Uint8Array]>

Source

Since v1.0.0