(cmd *cobra.Command)
| 216 | } |
| 217 | |
| 218 | func hasAliases(cmd *cobra.Command) bool { |
| 219 | return len(cmd.Aliases) > 0 || cmd.Annotations["aliases"] != "" |
| 220 | } |
| 221 | |
| 222 | func hasSubCommands(cmd *cobra.Command) bool { |
| 223 | return len(operationSubCommands(cmd)) > 0 |
no outgoing calls
searching dependent graphs…