summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-30 15:15:43 -0500
committerJeff Carr <[email protected]>2025-08-30 15:15:43 -0500
commitc7896e47f9c91e330b023bdb34a7540f193a5422 (patch)
tree76a0801d34c7b53442e2e5d2ecaeba5ef5e961c0 /argv.go
parent7f8f5e3b9b37fccbb357b70e6490823a8b22ae7e (diff)
code cleanup of early drafts of code from Gemini AI
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go27
1 files changed, 9 insertions, 18 deletions
diff --git a/argv.go b/argv.go
index 973f616..e6c4c0b 100644
--- a/argv.go
+++ b/argv.go
@@ -10,24 +10,15 @@ package main
var argv args
type args struct {
- Add string `arg:"--add" help:"add a new chat"`
- Format *EmptyCmd `arg:"subcommand:format" help:"add a conversation"`
- Connect *EmptyCmd `arg:"subcommand:connect" help:"connect to gemini AI"`
- Playback *PlaybackCmd `arg:"subcommand:playback" help:"dump your prior conversations to the terminal'"`
- Output string `arg:"--output" help:"should get a string from regex-cli"`
- Input string `arg:"--input" help:"should get a string from regex-cli"`
- Editor *EmptyCmd `arg:"subcommand:interact" help:"open env EDITOR"`
- ImportFile string `arg:"--import" help:"import a file from regex-cli"`
- JsonFile string `arg:"--json" help:"import a JSON file from gemini-cli"`
- Uuid string `arg:"--uuid" help:"look at this uuid"`
- Topic string `arg:"--topic" help:"the topic"`
- Stats []string `arg:"--stats" help:"add stats to a chat"`
- NewChat *EmptyCmd `arg:"subcommand:newchat" help:"create a new chat"`
- GetNextAutoTopic bool `arg:"--get-next-auto-topic" help:"get the next auto topic name"`
- Force bool `arg:"--force" help:"try to strong arm things"`
- Verbose bool `arg:"--verbose" help:"show more output"`
- Bash bool `arg:"--bash" help:"generate bash completion"`
- BashAuto []string `arg:"--auto-complete" help:"todo: move this to go-arg"`
+ Uuid string `arg:"--uuid" help:"look at this uuid"`
+ JsonFile string `arg:"--json" help:"import a JSON file from gemini-cli"`
+ Interact *EmptyCmd `arg:"subcommand:interact" help:"open env EDITOR"`
+ Playback *PlaybackCmd `arg:"subcommand:playback" help:"dump your prior conversations to the terminal'"`
+ 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"`
+ Bash bool `arg:"--bash" help:"generate bash completion"`
+ BashAuto []string `arg:"--auto-complete" help:"todo: move this to go-arg"`
}
type EmptyCmd struct {