something new
This commit is contained in:
parent
126495ff38
commit
eceb945b9c
2
Makefile
2
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
|
||||
|
|
6
argv.go
6
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 {
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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) {
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue