summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-02 15:18:27 -0500
committerJeff Carr <[email protected]>2025-09-02 15:18:27 -0500
commit589d50d95019638ca394382cbc6b21c6b248888d (patch)
treeb2a333eda4d8264327c5e45f0eb46647e325f464 /argv.go
parent81343b3b66fdbca76790dd3ac340d6cb82d4540c (diff)
convert is working okay
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"`