Prompter handles interactive variable prompting
| 23 | |
| 24 | // Prompter handles interactive variable prompting |
| 25 | type Prompter struct { |
| 26 | Stdin io.Reader |
| 27 | Stdout io.Writer |
| 28 | Stderr io.Writer |
| 29 | } |
| 30 | |
| 31 | // Text prompts the user for a text value |
| 32 | func (p *Prompter) Text(varName string) (string, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected