From 135c6f540d36db5998110e890eb1f4f7b8c77ff1 Mon Sep 17 00:00:00 2001 From: raziman Date: Thu, 23 Jul 2020 15:15:54 +0800 Subject: [PATCH] new entry point --- main.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 main.go diff --git a/main.go b/main.go new file mode 100644 index 0000000..46d0e5b --- /dev/null +++ b/main.go @@ -0,0 +1,17 @@ +// Copyright (C) 2020 Raziman + +package main + +import ( + "os" + + "github.com/rivo/tview" +) + +func main() { + os.Setenv("TEST", "false") + args := getArgs() + readConfig(args) + app := tview.NewApplication() + start(app, args) +}