()
| 109 | } |
| 110 | |
| 111 | func (p *ActionPlan) verboseDescription() string { |
| 112 | sb := strings.Builder{} |
| 113 | |
| 114 | // Here we display the commands in the order they will be executed. |
| 115 | for _, cmd := range p.commands { |
| 116 | sb.WriteString(colorizeOpType(cmd.OperationType()) + " " + cmd.ItemType() + ":" + cmd.Detail() + "\n") |
| 117 | } |
| 118 | |
| 119 | return sb.String() |
| 120 | } |
| 121 | |
| 122 | // describe the operations of a given type in a compact way. |
| 123 | func describe(opType string, desc map[string]map[string][]string, sb *strings.Builder) { |
no test coverage detected