(operation parser.Operation)
| 442 | } |
| 443 | |
| 444 | func (b CommandBuilder) createCategoryCommand(operation parser.Operation) *CommandDefinition { |
| 445 | flags := NewFlagBuilder(). |
| 446 | AddHelpFlag(). |
| 447 | AddServiceVersionFlag(true). |
| 448 | Build() |
| 449 | |
| 450 | return NewCommand(operation.Category.Name, operation.Category.Summary, operation.Category.Description). |
| 451 | WithFlags(flags) |
| 452 | } |
| 453 | |
| 454 | func (b CommandBuilder) createServiceCommandCategory(operation parser.Operation, categories map[string]*CommandDefinition) (bool, *CommandDefinition) { |
| 455 | isNewCategory := false |
no test coverage detected