(cmd *cobra.Command)
| 196 | } |
| 197 | |
| 198 | func shouldRenderJSONHelpForHelpCommand(cmd *cobra.Command) bool { |
| 199 | return isJSONHelpCommand(cmd) && jsonHelpOutputRequested(cmd) |
| 200 | } |
| 201 | |
| 202 | func jsonHelpOutputRequested(cmd *cobra.Command) bool { |
| 203 | format, err := commandOutputFormatE(cmd) |
no test coverage detected