MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / SetNonInteractive

Function SetNonInteractive

tui/term.go:14–16  ·  view source on GitHub ↗

SetNonInteractive disables interactive mode regardless of TTY state. Call this when --json or similar flags are set.

(v bool)

Source from the content-addressed store, hash-verified

12// SetNonInteractive disables interactive mode regardless of TTY state.
13// Call this when --json or similar flags are set.
14func SetNonInteractive(v bool) {
15 forceNonInteractive = v
16}
17
18// IsInteractive returns true when stdout is a TTY and the session
19// is suitable for Bubble Tea TUI rendering. Commands use this to

Callers 1

initFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected