Skip to content

Commit 9aad7f3

Browse files
committed
fix: use array and new pluralized name for credential overrides
Signed-off-by: Nick Hale <[email protected]>
1 parent 869ee34 commit 9aad7f3

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

opts.go

+10-10
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ func (g GlobalOptions) toEnv() []string {
2828
type Options struct {
2929
GlobalOptions `json:",inline"`
3030

31-
Confirm bool `json:"confirm"`
32-
Input string `json:"input"`
33-
DisableCache bool `json:"disableCache"`
34-
CacheDir string `json:"cacheDir"`
35-
SubTool string `json:"subTool"`
36-
Workspace string `json:"workspace"`
37-
ChatState string `json:"chatState"`
38-
IncludeEvents bool `json:"includeEvents"`
39-
Prompt bool `json:"prompt"`
40-
CredentialOverride string `json:"credentialOverride"`
31+
Confirm bool `json:"confirm"`
32+
Input string `json:"input"`
33+
DisableCache bool `json:"disableCache"`
34+
CacheDir string `json:"cacheDir"`
35+
SubTool string `json:"subTool"`
36+
Workspace string `json:"workspace"`
37+
ChatState string `json:"chatState"`
38+
IncludeEvents bool `json:"includeEvents"`
39+
Prompt bool `json:"prompt"`
40+
CredentialOverrides []string `json:"credentialOverrides"`
4141
}

0 commit comments

Comments
 (0)