(group map[string]interface{})
| 90 | } |
| 91 | |
| 92 | func (cmd EnvCommand) displayEnvGroup(group map[string]interface{}) { |
| 93 | keys := sortKeys(group) |
| 94 | |
| 95 | for _, key := range keys { |
| 96 | cmd.UI.DisplayTextLiteral(fmt.Sprintf("%s: %v", key, group[key])) |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | func sortKeys(group map[string]interface{}) []string { |
| 101 | keys := make([]string, 0, len(group)) |
no test coverage detected