summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/argv.go b/argv.go
index 58a94e0..d6d2357 100644
--- a/argv.go
+++ b/argv.go
@@ -16,7 +16,7 @@ type args struct {
Interact *EmptyCmd `arg:"subcommand:interact" help:"open env EDITOR"`
Playback *PlaybackCmd `arg:"subcommand:playback" help:"dump your prior conversations to the terminal'"`
NewChat *PlaybackCmd `arg:"subcommand:newchat" help:"used by gemini-cli on startup"`
- Clean *EmptyCmd `arg:"subcommand:clean" help:"cleanup the files in /tmp"`
+ Clean *CleanCmd `arg:"subcommand:clean" help:"cleanup the files in /tmp"`
Stats string `arg:"--stats" help:"add stats to a chat"`
Force bool `arg:"--force" help:"try to strong arm things"`
Verbose bool `arg:"--verbose" help:"show more output"`
@@ -27,6 +27,10 @@ type args struct {
type EmptyCmd struct {
}
+type CleanCmd struct {
+ Match string `arg:"positional"`
+}
+
type PlaybackCmd struct {
Last *EmptyCmd `arg:"subcommand:last" help:"dump the last one"`
List *EmptyCmd `arg:"subcommand:list" help:"list memories"`