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
readonlyexit:ExitCode
The exit code the invocation resolves to.
stderr
readonlystderr:string
The diagnostic channel is value-free: codes, positions, file paths, format names only.
stdout
readonlystdout:string
The data channel: the parsed model or requested output. May contain the user's data by design.