summaryrefslogtreecommitdiffstats
path: root/pkg/config/user_config.go
diff options
context:
space:
mode:
authorMihai22125 <mihai.mtb10@gmail.com>2022-08-09 19:52:19 +0300
committerJesse Duffield <jessedduffield@gmail.com>2022-09-17 14:58:44 -0700
commit7e9dffe1b93d304d8500cc0a379a8a2f4e35a7a2 (patch)
tree0d9aa025c979edf1289ad653829f2ef7f367134a /pkg/config/user_config.go
parentc81333fefe2f1e27ab2fcb6a0dc37d82ca47c711 (diff)
Add Key field to CustomCommandPrompt struct
Add Form field to CustomCommandObjects struct Write user prompts responses to Form field Ensure that map keys exists Add form prompts integration test Remove redundant index
Diffstat (limited to 'pkg/config/user_config.go')
-rw-r--r--pkg/config/user_config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go
index 7e6a21656..f3ff1befb 100644
--- a/pkg/config/user_config.go
+++ b/pkg/config/user_config.go
@@ -314,6 +314,8 @@ type CustomCommand struct {
}
type CustomCommandPrompt struct {
+ Key string `yaml:"key"`
+
// one of 'input', 'menu', 'confirm', or 'menuFromCommand'
Type string `yaml:"type"`