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()