code: func confirm(text string) bool {
  	fmt.Printf(text)
  	fmt.Printf("\nEnter 'ok' to proceed:\n>")
  
  	text, err := bufio.NewReader(os.Stdin).ReadString('\n')
  	if err != nil {
  		log.Crit("Failed to read user input", "err", err)
  	}
  
  	if text := strings.TrimSpace(text); text == "ok" {
  		return true
  	}
  	return false
  }
docs: // confirm displays a text and asks for user confirmation