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 ( import (
"embed" "embed"
"os" "os"
"strings"
"go.wit.com/dev/alexflint/arg" "go.wit.com/dev/alexflint/arg"
"go.wit.com/gui" "go.wit.com/gui"
"go.wit.com/lib/protobuf/gitpb" "go.wit.com/lib/protobuf/chatpb"
"go.wit.com/log" "go.wit.com/log"
) )
@ -31,6 +30,7 @@ var ARGNAME string = "gemini"
// using this for now. triggers config save // using this for now. triggers config save
var configSave bool var configSave bool
/*
func getVersion(repo *gitpb.Repo, name string) string { func getVersion(repo *gitpb.Repo, name string) string {
cmd := []string{"git", "describe", "--tags", "--always", name} cmd := []string{"git", "describe", "--tags", "--always", name}
result, _ := repo.RunQuiet(cmd) result, _ := repo.RunQuiet(cmd)
@ -39,6 +39,7 @@ func getVersion(repo *gitpb.Repo, name string) string {
return strings.TrimSpace(output) return strings.TrimSpace(output)
} }
*/
func main() { func main() {
me = new(mainType) me = new(mainType)
@ -64,6 +65,9 @@ func main() {
okExit("") okExit("")
} }
log.Info("trying chatpb")
chatpb.TestChat()
// if opening the GUI, always check git for dirty repos // if opening the GUI, always check git for dirty repos
log.Info("open the gui here") log.Info("open the gui here")
// doGui() // doGui()