diff options
| author | Jeff Carr <[email protected]> | 2025-08-25 10:48:59 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-25 10:48:59 -0500 |
| commit | a813b2e2064bfe6c87b29c18072ec18809580063 (patch) | |
| tree | 127bc5d63befe3294105b555237b8d166e8c57b3 | |
| parent | 0b2ec9ce15cf17f12c6457396a9579d943115d67 (diff) | |
test
| -rw-r--r-- | argv.go | 1 | ||||
| -rw-r--r-- | argvAutoshell.go | 2 | ||||
| -rw-r--r-- | main.go | 5 | ||||
| -rwxr-xr-x | regex | bin | 18045448 -> 0 bytes |
4 files changed, 7 insertions, 1 deletions
@@ -15,6 +15,7 @@ type args struct { 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"` ImportFile string `arg:"--import" help:"import a file from regex-cli"` Stats []string `arg:"--stats" help:"add stats to a chat"` NewChat []string `arg:"--new-chat" help:"create a new chat"` diff --git a/argvAutoshell.go b/argvAutoshell.go index bc97af2..54549c3 100644 --- a/argvAutoshell.go +++ b/argvAutoshell.go @@ -30,7 +30,7 @@ func (args) doBashAuto() { default: if argv.BashAuto[0] == ARGNAME { // list the subcommands here - fmt.Println("--add format playback") + fmt.Println("--add format playback editor") } } os.Exit(0) @@ -58,6 +58,11 @@ func main() { okExit("") } + if argv.Editor != nil { + // doEditor() + okExit("") + } + if argv.NewChat != nil { doNewChat() okExit("") Binary files differ |
