()
| 76 | type commandSorterByName []*cobra.Command |
| 77 | |
| 78 | func (c commandSorterByName) Len() int { return len(c) } |
| 79 | func (c commandSorterByName) Swap(i, j int) { c[i], c[j] = c[j], c[i] } |
| 80 | func (c commandSorterByName) Less(i, j int) bool { return c[i].CommandPath() < c[j].CommandPath() } |
no outgoing calls