code: func PromptForConfirmation(ins io.Reader, outs io.Writer, message string) bool {
  	if message == "" {
  		message = "Are you sure you want to proceed?"
  	}
  	message += " [y/N] "
  
  	fmt.Fprintf(outs, message)
  
  	// On Windows, force the use of the regular OS stdin stream.
  	if runtime.GOOS == "windows" {
  		ins = streams.NewIn(os.Stdin)
  	}
  
  	reader := bufio.NewReader(ins)
  	answer, _, _ := reader.ReadLine()
  	return strings.ToLower(string(answer)) == "y"
  }
docs: // PromptForConfirmation requests and checks confirmation from user.
  // This will display the provided message followed by ' [y/N] '. If
  // the user input 'y' or 'Y' it returns true other false.  If no
  // message is provided "Are you sure you want to proceed? [y/N] "
  // will be used instead.