SupportedApps returns the supported app names for the kind, sorted.
(kind Kind)
| 396 | |
| 397 | // SupportedApps returns the supported app names for the kind, sorted. |
| 398 | func SupportedApps(kind Kind) []string { |
| 399 | apps := AppPathsFor(kind) |
| 400 | out := make([]string, 0, len(apps)) |
| 401 | for a := range apps { |
| 402 | out = append(out, a) |
| 403 | } |
| 404 | sortStrings(out) |
| 405 | return out |
| 406 | } |
| 407 | |
| 408 | // InstalledApps returns only the apps whose CLI binary is found on PATH. |
| 409 | func InstalledApps(kind Kind) []string { |