ClientNames returns the supported client names in alphabetical order.
()
| 64 | |
| 65 | // ClientNames returns the supported client names in alphabetical order. |
| 66 | func ClientNames() []string { |
| 67 | names := make([]string, 0, len(SupportedClients)) |
| 68 | for _, c := range SupportedClients { |
| 69 | names = append(names, c.Name) |
| 70 | } |
| 71 | sort.Strings(names) |
| 72 | return names |
| 73 | } |
| 74 | |
| 75 | // ResolvePath returns the absolute config file path for the given client + |
| 76 | // scope, honoring ~ and the current working directory. |
no outgoing calls
no test coverage detected