Skip to content

Commit ce3b726

Browse files
authored
Enhance: add ability to do inline prompting to choose oauth/pat (#955)
Signed-off-by: Daishan Peng <[email protected]>
1 parent 550d649 commit ce3b726

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pkg/types/prompt.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ type Prompt struct {
1818
}
1919

2020
type Field struct {
21-
Name string `json:"name,omitempty"`
22-
Sensitive *bool `json:"sensitive,omitempty"`
23-
Description string `json:"description,omitempty"`
21+
Name string `json:"name,omitempty"`
22+
Sensitive *bool `json:"sensitive,omitempty"`
23+
Description string `json:"description,omitempty"`
24+
Options []string `json:"options,omitempty"`
2425
}
2526

2627
type Fields []Field

0 commit comments

Comments
 (0)