RenderContextOptions
Inputs for resolveRenderContext. Pass the host facts (TTY status, environment) and any explicit overrides; the resolver applies the same gating .execute()/.run() feed into the output channel.
- Import:
@kjanat/dreamcli - Export kind: interface
- Declared in:
src/core/cli/index.ts - Source link:
src/core/cli/index.ts:859
Signatures
interface RenderContextOptions {}Members
Properties
isTTY
Whether stdout is connected to a TTY (e.g. process.stdout.isTTY).
isTTY?: boolean;jsonMode
JSON mode when argv carries no root --json. An explicit --json=false in argv wins over this.
jsonMode?: boolean;verbosity
Output verbosity when argv carries no root --quiet/-q. An explicit --quiet=false in argv wins over this.
verbosity?: Verbosity;color
Explicitly enable or disable colors, winning over the auto-gate.
color?: boolean;env
Environment variables consulted for NO_COLOR/FORCE_COLOR and NO_HYPERLINKS/FORCE_HYPERLINKS (e.g. process.env).
env?: Readonly<Record<string, string | undefined>>;builtins
Which built-in flags the CLI still owns, matching its .builtins() call. A built-in set to 'off' is not read out of argv here either.
builtins?: BuiltinsConfig;