misc
This commit is contained in:
parent
ad39cfacbd
commit
e655b37e60
8
main.go
8
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()
|
||||
|
|
Loading…
Reference in New Issue