From 7103c9adf68fed779c34f3ed9016d1a56607787b Mon Sep 17 00:00:00 2001 From: Eugen Eisler Date: Tue, 3 Sep 2024 15:17:22 +0200 Subject: [PATCH] feat: add support for pattern variables --- cli/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/flags.go b/cli/flags.go index 9766d13..7de2584 100644 --- a/cli/flags.go +++ b/cli/flags.go @@ -14,7 +14,7 @@ import ( // Flags create flags struct. the users flags go into this, this will be passed to the chat struct in cli type Flags struct { Pattern string `short:"p" long:"pattern" description:"Choose a pattern" default:""` - PatternVariables map[string]string `short:"v" long:"variable" description:"Values for pattern variables"` + PatternVariables map[string]string `short:"v" long:"variable" description:"Values for pattern variables, e.g. -v=$name:John -v=$age:30"` Context string `short:"C" long:"context" description:"Choose a context" default:""` Session string `long:"session" description:"Choose a session"` Setup bool `short:"S" long:"setup" description:"Run setup"`