type Prompter struct {
*bufio.Reader// Questions to ask. Questions []string// Secret sets the corresponding question to be a secret, hiding input. Secret []bool// Answers from the user. Answers []string
}
Prompter is the interface for prompting the user for input.
type Question struct {
// Question to present. Include a question mark if necessary. Question string// Secret sets the question to be a secret, hiding input. Secret bool// Default answer, if any. Default string
}