something new

This commit is contained in:
Jeff Carr 2025-08-22 04:23:28 -05:00
parent 126495ff38
commit eceb945b9c
5 changed files with 15 additions and 8 deletions

View File

@ -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

View File

@ -24,7 +24,7 @@ type EmptyCmd struct {
type PlaybackCmd struct {
List *EmptyCmd `arg:"subcommand:list" help:"list memories"`
Force bool `arg:"--all" help:"try to strong arm things"`
Long *EmptyCmd `arg:"subcommand:long" help:"show info on each chat"`
Uuid string `arg:"--uuid" help:"look at this uuid"`
}

View File

@ -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:

View File

@ -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) {
}

View File

@ -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()
}
okExit("")
}