code: func (ui *CommandlineUI) confirm() bool {
  	fmt.Printf("Approve? [y/N]:\n")
  	if ui.readString() == "y" {
  		return true
  	}
  	fmt.Println("-----------------------")
  	return false
  }
docs: // confirm returns true if user enters 'Yes', otherwise false