effect-io-ai

Package: @effect/platform
Module: Command

Command.lines

Runs the command returning the output as an array of lines with the specified encoding.

Signature

declare const lines: (command: Command, encoding?: string) => Effect<Array<string>, PlatformError, CommandExecutor>

Source

Since v1.0.0