summaryrefslogtreecommitdiffstats
path: root/pkg/config/user_config.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-08-14 19:15:21 +1000
committerJesse Duffield <jessedduffield@gmail.com>2022-08-14 20:49:20 +1000
commit9c0d860980a2391d938e77bac54efdc2a5015103 (patch)
tree92f590e8ba4c3a98d579ab4d71e4f58d6140f547 /pkg/config/user_config.go
parent4aea005f2674b5d21478582b2143739fdc2fcb93 (diff)
basic custom command test
Diffstat (limited to 'pkg/config/user_config.go')
-rw-r--r--pkg/config/user_config.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go
index 804a5bee0..7e6a21656 100644
--- a/pkg/config/user_config.go
+++ b/pkg/config/user_config.go
@@ -314,7 +314,9 @@ type CustomCommand struct {
}
type CustomCommandPrompt struct {
- Type string `yaml:"type"` // one of 'input', 'menu', or 'confirm'
+ // one of 'input', 'menu', 'confirm', or 'menuFromCommand'
+ Type string `yaml:"type"`
+
Title string `yaml:"title"`
// this only apply to input prompts