Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Thunder-Compute/thunder-cli
/ printJSON
Function
printJSON
cmd/json.go:8–12 ·
view source on GitHub ↗
(data any)
Source
from the content-addressed store, hash-verified
6
)
7
8
func
printJSON(data any) {
9
enc := json.NewEncoder(os.Stdout)
10
enc.SetIndent(
""
,
" "
)
11
_ = enc.Encode(data)
//nolint:errcheck // stdout write failure is non-recoverable
12
}
Callers
12
runPortsForward
Function · 0.85
printJSONHelp
Function · 0.85
RunStatus
Function · 0.85
runPortsList
Function · 0.85
runSnapshotList
Function · 0.85
runDelete
Function · 0.85
runConnectWithOptions
Function · 0.85
PrintError
Function · 0.85
runModify
Function · 0.85
runCreate
Function · 0.85
runSnapshotCreate
Function · 0.85
runSnapshotDelete
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected