summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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("")
}