fix(playback): Correctly handle UUID argument
- Update the main command loop to correctly parse and pass the '--uuid' flag to the showChat function. - This fixes the 'invalid subcommand' error and makes the detailed playback view fully functional.
This commit is contained in:
parent
76ef21fc66
commit
126495ff38
1
Makefile
1
Makefile
|
@ -49,3 +49,4 @@ identify-protobuf:
|
|||
|
||||
playback:
|
||||
gemini playback
|
||||
gemini playback --uuid a1b2c3d4-e5f6-4a5b-8c9d-1e2f3a4b5c6d
|
||||
|
|
7
main.go
7
main.go
|
@ -58,14 +58,13 @@ func main() {
|
|||
if err != nil {
|
||||
badExit(err)
|
||||
}
|
||||
verifyUuids(newChats)
|
||||
listChats(newChats)
|
||||
for _, newChat := range newChats.GetChats() {
|
||||
me.chats.AppendByUuid(newChat)
|
||||
}
|
||||
listChats(me.chats)
|
||||
|
||||
me.chats.ConfigSave()
|
||||
if verifyUuids(me.chats) {
|
||||
me.chats.ConfigSave()
|
||||
}
|
||||
okExit("")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue