(cmd *cobra.Command)
| 235 | } |
| 236 | |
| 237 | func commandOutputFormat(cmd *cobra.Command) output.Format { |
| 238 | format, err := commandOutputFormatE(cmd) |
| 239 | if err != nil { |
| 240 | return output.FormatText |
| 241 | } |
| 242 | return format |
| 243 | } |
| 244 | |
| 245 | func commandOutputFormatE(cmd *cobra.Command) (output.Format, error) { |
| 246 | value := string(output.FormatText) |
no test coverage detected