This commit is contained in:
Jeff Carr 2025-08-25 10:48:59 -05:00
parent 0b2ec9ce15
commit a813b2e206
4 changed files with 7 additions and 1 deletions

View File

@ -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"`

View File

@ -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)

View File

@ -58,6 +58,11 @@ func main() {
okExit("")
}
if argv.Editor != nil {
// doEditor()
okExit("")
}
if argv.NewChat != nil {
doNewChat()
okExit("")

BIN
regex

Binary file not shown.