(t *testing.T, cmd *cobra.Command)
| 138 | } |
| 139 | |
| 140 | func setDuOutputJSON(t *testing.T, cmd *cobra.Command) { |
| 141 | t.Helper() |
| 142 | if err := cmd.Flags().Set(outputFlag, "json"); err != nil { |
| 143 | t.Fatalf("set output: %v", err) |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | type duJSONOutput struct { |
| 148 | Input map[string]any `json:"input"` |
no outgoing calls
no test coverage detected