Skip to main content
Version: v0.0.3

Interface: RunResult

A fully-resolved CLI invocation.

Example

import { EXIT, type RunResult } from "@cosyte/cli";

const r: RunResult = { stdout: "{}\n", stderr: "", exit: EXIT.OK };
r.exit; // => 0

Properties

exit

readonly exit: ExitCode

The exit code the invocation resolves to.


stderr

readonly stderr: string

The diagnostic channel is value-free: codes, positions, file paths, format names only.


stdout

readonly stdout: string

The data channel: the parsed model or requested output. May contain the user's data by design.