(cmd *cobra.Command)
| 309 | } |
| 310 | |
| 311 | func decoratedName(cmd *cobra.Command) string { |
| 312 | decoration := " " |
| 313 | if isPlugin(cmd) { |
| 314 | decoration = "*" |
| 315 | } |
| 316 | return cmd.Name() + decoration |
| 317 | } |
| 318 | |
| 319 | func vendorAndVersion(cmd *cobra.Command) string { |
| 320 | if vendor, ok := cmd.Annotations[metadata.CommandAnnotationPluginVendor]; ok && isPlugin(cmd) { |
searching dependent graphs…