summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-30 14:42:57 -0500
committerJeff Carr <[email protected]>2025-08-30 14:42:57 -0500
commit7f8f5e3b9b37fccbb357b70e6490823a8b22ae7e (patch)
tree11b6f74e8d3f33b3fdb82421cb79653f65685fe8 /argv.go
parentc971bfddf74d48d87f10f5f050b1eef3fd12bf20 (diff)
basic JSON parsing into genai struc
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/argv.go b/argv.go
index af66e83..973f616 100644
--- a/argv.go
+++ b/argv.go
@@ -12,13 +12,17 @@ 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:editor" help:"open env EDITOR"`
+ 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 []string `arg:"--new-chat" help:"create a new 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"`
@@ -32,7 +36,6 @@ type EmptyCmd struct {
type PlaybackCmd struct {
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 {