summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/main.go b/main.go
index e6150f9..5d9585f 100644
--- a/main.go
+++ b/main.go
@@ -8,11 +8,10 @@ package main
import (
"embed"
"os"
- "strings"
"go.wit.com/dev/alexflint/arg"
"go.wit.com/gui"
- "go.wit.com/lib/protobuf/gitpb"
+ "go.wit.com/lib/protobuf/chatpb"
"go.wit.com/log"
)
@@ -31,6 +30,7 @@ var ARGNAME string = "gemini"
// using this for now. triggers config save
var configSave bool
+/*
func getVersion(repo *gitpb.Repo, name string) string {
cmd := []string{"git", "describe", "--tags", "--always", name}
result, _ := repo.RunQuiet(cmd)
@@ -39,6 +39,7 @@ func getVersion(repo *gitpb.Repo, name string) string {
return strings.TrimSpace(output)
}
+*/
func main() {
me = new(mainType)
@@ -64,6 +65,9 @@ func main() {
okExit("")
}
+ log.Info("trying chatpb")
+ chatpb.TestChat()
+
// if opening the GUI, always check git for dirty repos
log.Info("open the gui here")
// doGui()