You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/commands/kvstoreentry/create.go
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ import (
8
8
"io/fs"
9
9
"os"
10
10
"path/filepath"
11
+
"strconv"
11
12
"strings"
12
13
"sync"
13
14
"sync/atomic"
@@ -42,7 +43,7 @@ func NewCreateCommand(parent argparser.Registerer, g *global.Data) *CreateComman
42
43
c.CmdClause.Flag("dir-allow-hidden", "Allow hidden files (e.g. dot files) to be included (skipped by default)").BoolVar(&c.dirAllowHidden)
43
44
c.CmdClause.Flag("dir-concurrency", "Limit the number of concurrent network resources allocated").Default("50").IntVar(&c.dirConcurrency)
44
45
c.CmdClause.Flag("file", `Path to a file containing individual JSON objects (e.g., {"key":"...","value":"base64_encoded_value"}) separated by new-line delimiter`).StringVar(&c.filePath)
45
-
c.CmdClause.Flag("if-generation-match", "Value which must match the current generation marker in an item for an update operation to proceed").IntVar(&c.ifGenMatch)
46
+
c.CmdClause.Flag("if-generation-match", "Value which must match the current generation marker in an item for an update operation to proceed").StringVar(&c.ifGenMatch)
46
47
c.CmdClause.Flag("metadata", "An arbitrary data field which can contain up to 2000 bytes of data").StringVar(&c.metadata)
47
48
c.CmdClause.Flag("prepend", "If an item with the specified key exists, the value provided in the operation is prepended to the existing value instead of replacing it (Default: false)").Default("false").BoolVar(&c.prepend)
0 commit comments