(cmd *cobra.Command)
| 200 | } |
| 201 | |
| 202 | func jsonHelpOutputRequested(cmd *cobra.Command) bool { |
| 203 | format, err := commandOutputFormatE(cmd) |
| 204 | return err == nil && format == output.FormatJSON |
| 205 | } |
| 206 | |
| 207 | func commandIsJSONHelp(cmd *cobra.Command) bool { |
| 208 | return shouldRenderJSONHelpForHelpCommand(cmd) |
no test coverage detected