(names []string)
| 115 | } |
| 116 | |
| 117 | func commandInputPropertyNames(names []string) []string { |
| 118 | result := make([]string, 0, len(names)) |
| 119 | for _, name := range names { |
| 120 | result = append(result, commandInputPropertyName(name)) |
| 121 | } |
| 122 | return sortedCopyStringSlice(result) |
| 123 | } |
| 124 | |
| 125 | func commandInputPropertyName(name string) string { |
| 126 | return strings.ReplaceAll(name, "-", "_") |
no test coverage detected