(cmd *cobra.Command)
| 293 | } |
| 294 | |
| 295 | func commandSupportsStructuredOutput(cmd *cobra.Command) bool { |
| 296 | return cmd != nil && cmd.Annotations[structuredOutputSupportedAnnotation] == "true" |
| 297 | } |
| 298 | |
| 299 | func enableStructuredOutput(cmd *cobra.Command) { |
| 300 | if cmd.Annotations == nil { |
no outgoing calls