(cmd *cobra.Command)
| 212 | } |
| 213 | |
| 214 | func isPlugin(cmd *cobra.Command) bool { |
| 215 | return cmd.Annotations[metadata.CommandAnnotationPlugin] == "true" |
| 216 | } |
| 217 | |
| 218 | func hasAliases(cmd *cobra.Command) bool { |
| 219 | return len(cmd.Aliases) > 0 || cmd.Annotations["aliases"] != "" |
no outgoing calls
no test coverage detected
searching dependent graphs…