code: func confirm(action string) (response bool) {
  	fmt.Printf("%s? [y/N] ", action)
  	var res string
  	fmt.Scanln(&res)
  	return res == "y" || res == "Y"
  }
docs: // confirm asks for a user confirmation for an action, with No as default.
  // Only "y" or "Y" responses is treated as yes.