code: func (p *Prompt) Bool(q string, def bool) (bool, error) {
  	w := &w{}
  	w.print(p.output, colors.Default, q)
  	str := "Y"
  	if !def {
  		str = "N"
  	}
  	w.print(p.output, p.defaultColor, "（", str, "）")
  	w.print(p.output, colors.Default, "：")
  
  	val := w.read(p)
  	if w.err != nil {
  		return false, w.err
  	}
  
  	switch strings.ToLower(val) {
  	case "yes", "y":
  		return true, nil
  	case "no", "n":
  		return false, nil
  	default:
  		return def, nil
  	}
  }
docs: // Bool 输出 bool 问题，并获取用户的回答内容