MCPcopy Create free account
hub / github.com/Effect-TS/tsgo / IsCommandLineMode

Function IsCommandLineMode

etscore/climode.go:21–23  ·  view source on GitHub ↗

IsCommandLineMode reports whether the process is currently running in CLI (tsc) mode, as opposed to LSP or other flows.

()

Source from the content-addressed store, hash-verified

19// IsCommandLineMode reports whether the process is currently running in CLI
20// (tsc) mode, as opposed to LSP or other flows.
21func IsCommandLineMode() bool {
22 return commandLineMode.Load()
23}

Calls

no outgoing calls