diff options
| author | Castor Regex <[email protected]> | 2025-08-24 13:23:12 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-24 13:23:12 -0500 |
| commit | a9b7fca08d612799b976c4ca80716e575546e1c4 (patch) | |
| tree | 24ed561c0838b25beeb630899a783159ed7af867 /main.go | |
| parent | 82eba977cdfc2c8e9d82655d0e7045337f7f2a15 (diff) | |
feat(chat): add --get-next-auto-topic flag
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -46,17 +46,15 @@ func main() { } me.chats = chatpb.NewChats() - if !argv.CountAuto { - if err := me.chats.ConfigLoad(); err != nil { - badExit(err) - } - if verifyUuids(me.chats) { - me.chats.ConfigSave() - } + if err := me.chats.ConfigLoad(); err != nil { + badExit(err) + } + if verifyUuids(me.chats) { + me.chats.ConfigSave() } - if argv.CountAuto { - doCountAuto() + if argv.GetNextAutoTopic { + doGetNextAutoTopic() okExit("") } |
