AppAllPath returns paths of all apps
()
| 88 | |
| 89 | // AppAllPath returns paths of all apps |
| 90 | func AppAllPath() (string, error) { |
| 91 | exts := featureSection.Key("custom_apps").Strings("|") |
| 92 | results := []string{} |
| 93 | for _, v := range exts { |
| 94 | path, err := utils.GetCustomAppPath(v) |
| 95 | if err != nil { |
| 96 | path = utils.Red("App " + v + " not found") |
| 97 | } |
| 98 | results = append(results, path) |
| 99 | } |
| 100 | |
| 101 | return strings.Join(results, "\n"), nil |
| 102 | } |
| 103 | |
| 104 | func AllPaths() (string, error) { |
| 105 | theme, _ := ThemeAllAssetsPath() |
no test coverage detected