This commit is contained in:
Jeff Carr 2025-08-21 10:59:11 -05:00
parent ad39cfacbd
commit e655b37e60
1 changed files with 6 additions and 2 deletions

View File

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