From cf812da1d3cfa94fa7d701a0dc01c6bd2ff3f70b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 22 Aug 2025 10:43:52 -0500 Subject: add doInput() --- main.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'main.go') 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("") } -- cgit v1.2.3