Skip to content

TrustCommandIO

A VIEW of CliIo: the same output seam, plus the environment this command needs injected — not a third pattern alongside CliIo and ConfigCommandIO.

stderr(text): void

ParameterType
textstring

void

CliIo.stderr


stdout(text): void

ParameterType
textstring

void

CliIo.stdout

PropertyTypeDescription
env?Record<string, string | undefined>Defaults to process.env. Supplies XDG_STATE_HOME.
home?stringDefaults to os.homedir(). The base for the non-XDG state path.