diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-08-14 19:15:21 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-08-14 20:49:20 +1000 |
commit | 9c0d860980a2391d938e77bac54efdc2a5015103 (patch) | |
tree | 92f590e8ba4c3a98d579ab4d71e4f58d6140f547 /pkg/config/user_config.go | |
parent | 4aea005f2674b5d21478582b2143739fdc2fcb93 (diff) |
basic custom command test
Diffstat (limited to 'pkg/config/user_config.go')
-rw-r--r-- | pkg/config/user_config.go | 4 |
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 |