summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-22 10:43:52 -0500
committerJeff Carr <[email protected]>2025-08-22 10:43:52 -0500
commitcf812da1d3cfa94fa7d701a0dc01c6bd2ff3f70b (patch)
tree40cdd80e6f1b4391d65255e106faa0aa7236a1c3 /main.go
parent5db2567e60bc5bc72b7a12dc0765c773a24fa77a (diff)
add doInput()
Diffstat (limited to 'main.go')
-rw-r--r--main.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/main.go b/main.go
index 9e1daa2..2db5380 100644
--- a/main.go
+++ b/main.go
@@ -58,6 +58,11 @@ func main() {
okExit("")
}
+ if argv.Input != "" {
+ doInput(argv.Input)
+ okExit("")
+ }
+
if argv.Add != "" {
newChats, err := addFile(argv.Add)
if err != nil {
@@ -83,12 +88,8 @@ func main() {
okExit("")
}
- log.Info("trying chatpb")
- pb := chatpb.ExampleChat()
- pb.ConfigSave()
-
// if opening the GUI, always check git for dirty repos
- log.Info("open the gui here")
+ log.Info("look for 'auto' here")
// doGui()
okExit("")
}