(cmd *cobra.Command, rows []modelRow)
| 384 | } |
| 385 | |
| 386 | func (f *modelsListFlags) renderJSON(cmd *cobra.Command, rows []modelRow) error { |
| 387 | enc := json.NewEncoder(cmd.OutOrStdout()) |
| 388 | enc.SetIndent("", " ") |
| 389 | return enc.Encode(rows) |
| 390 | } |
no outgoing calls
no test coverage detected