(cmd *cobra.Command, out jsonOperationOutput)
| 79 | } |
| 80 | |
| 81 | func withJSONCommand(cmd *cobra.Command, out jsonOperationOutput) jsonOperationOutput { |
| 82 | out.OK = true |
| 83 | out.SchemaVersion = jsonSchemaVersion |
| 84 | out.Command = jsonCommandPath(cmd) |
| 85 | return out |
| 86 | } |
| 87 | |
| 88 | func renderJSONOperationOutput(cmd *cobra.Command, input any, results []jsonOperationResult) error { |
| 89 | return renderJSONOperationOutputWithWarnings(cmd, input, results, nil) |
no test coverage detected