(prompt string, help string, response string)
| 22 | type CheckRemaining func() |
| 23 | |
| 24 | func NewInputPrompt(prompt string, help string, response string) *PA { |
| 25 | return &PA{ |
| 26 | Prompt: &survey.Input{ |
| 27 | Message: prompt, |
| 28 | Help: help, |
| 29 | }, |
| 30 | Answer: response, |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | func NewInputPromptWithDefault(prompt string, help string, def string, response string) *PA { |
| 35 | return &PA{ |
no outgoing calls