effect-io-ai

Package: @effect/cli
Module: Args

Args.fileText

Creates a file argument that reads it’s contents.

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

Signature

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

Source

Since v1.0.0