func main() { logger := log.NewLog(log.Logs) externalUserDir, e := packages.DirAppletsExternal("") // option config dir log.Fatal(e, "DirAppletsExternal") packs, e := editpack.PacksExternal(logger, externalUserDir) log.Fatal(e, "get external packages") editpack.Start(logger, packs) }
func runAppInfo(cmd *Command, args []string) { setPathAbsolute(appinfoConfPath) // Ensure we have an absolute path for the config dir. externalUserDir, e := packages.DirAppletsExternal("") // option config dir exitIfFail(e, "start termui") packs, e := editpack.PacksExternal(logger, externalUserDir) exitIfFail(e, "get external packages") editpack.Start(logger, packs) return }