summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-22 04:23:28 -0500
committerJeff Carr <[email protected]>2025-08-22 04:23:28 -0500
commiteceb945b9c88d8e7a3456517348507cac07cd15c (patch)
tree88bb8425bf0e0c00162c7930c9c5e942e4635e32
parent126495ff38f6932f69d5e2996e16185fc269ed33 (diff)
something new
-rw-r--r--Makefile2
-rw-r--r--argv.go6
-rw-r--r--argvAutoshell.go2
-rw-r--r--doPlayback.go7
-rw-r--r--main.go6
5 files changed, 15 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 8c8ff28..8cac298 100644
--- a/Makefile
+++ b/Makefile
@@ -49,4 +49,4 @@ identify-protobuf:
playback:
gemini playback
- gemini playback --uuid a1b2c3d4-e5f6-4a5b-8c9d-1e2f3a4b5c6d
+ # gemini playback --uuid a1b2c3d4-e5f6-4a5b-8c9d-1e2f3a4b5c6d
diff --git a/argv.go b/argv.go
index 9c6d4b0..7bc1c87 100644
--- a/argv.go
+++ b/argv.go
@@ -23,9 +23,9 @@ type EmptyCmd struct {
}
type PlaybackCmd struct {
- List *EmptyCmd `arg:"subcommand:list" help:"list memories"`
- Force bool `arg:"--all" help:"try to strong arm things"`
- Uuid string `arg:"--uuid" help:"look at this uuid"`
+ List *EmptyCmd `arg:"subcommand:list" help:"list memories"`
+ Long *EmptyCmd `arg:"subcommand:long" help:"show info on each chat"`
+ Uuid string `arg:"--uuid" help:"look at this uuid"`
}
func (args) Version() string {
diff --git a/argvAutoshell.go b/argvAutoshell.go
index 7f2f82d..bc97af2 100644
--- a/argvAutoshell.go
+++ b/argvAutoshell.go
@@ -24,7 +24,7 @@ func (args) doBashAuto() {
argv.doBashHelp()
switch argv.BashAuto[0] {
case "playback":
- fmt.Println("list --uuid")
+ fmt.Println("long --uuid")
case "clean":
fmt.Println("user devel master")
default:
diff --git a/doPlayback.go b/doPlayback.go
index e636004..019db68 100644
--- a/doPlayback.go
+++ b/doPlayback.go
@@ -46,6 +46,13 @@ func listChats(chats *chatpb.Chats) {
formattedTime,
chat.GetUuid(),
)
+ if argv.Playback.Long != nil {
+ listEntries(chat)
+ }
}
fmt.Println("-------------------------------------------------")
}
+
+// print out one line for each chat entry
+func listEntries(chat *chatpb.Chat) {
+}
diff --git a/main.go b/main.go
index 7a10537..8d5b67a 100644
--- a/main.go
+++ b/main.go
@@ -58,13 +58,13 @@ func main() {
if err != nil {
badExit(err)
}
+ verifyUuids(newChats)
+
for _, newChat := range newChats.GetChats() {
me.chats.AppendByUuid(newChat)
}
- if verifyUuids(me.chats) {
- me.chats.ConfigSave()
- }
+ me.chats.ConfigSave()
okExit("")
}