CommandCategory is a category containing commands.
| 51 | |
| 52 | // CommandCategory is a category containing commands. |
| 53 | type CommandCategory interface { |
| 54 | // Name returns the category name string |
| 55 | Name() string |
| 56 | // VisibleCommands returns a slice of the Commands with Hidden=false |
| 57 | VisibleCommands() []*Command |
| 58 | } |
| 59 | |
| 60 | type commandCategory struct { |
| 61 | name string |
no outgoing calls
no test coverage detected