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
This commit is contained in:
Mihai22125
2022-08-09 19:52:19 +03:00
committed by Jesse Duffield
parent c81333fefe
commit 7e9dffe1b9
18 changed files with 122 additions and 6 deletions

View File

@@ -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"`