MCPcopy Create free account
hub / github.com/dropbox/dbxcli / renderJSONOperationOutputWithWarnings

Function renderJSONOperationOutputWithWarnings

cmd/json_output.go:92–94  ·  view source on GitHub ↗
(cmd *cobra.Command, input any, results []jsonOperationResult, warnings []jsonWarning)

Source from the content-addressed store, hash-verified

90}
91
92func renderJSONOperationOutputWithWarnings(cmd *cobra.Command, input any, results []jsonOperationResult, warnings []jsonWarning) error {
93 return commandOutput(cmd).Render(nil, newJSONCommandOperationOutput(cmd, input, results, warnings))
94}
95
96func newJSONOperationResult(status, kind string, input any, result any) jsonOperationResult {
97 return normalizeJSONOperationResult(jsonOperationResult{

Callers 3

renderLogoutResultFunction · 0.85

Calls 3

commandOutputFunction · 0.85
RenderMethod · 0.80

Tested by

no test coverage detected