code: func safeSplit(s string) []string {
  	split := strings.Split(s, " ")
  
  	var result []string
  	var inquote string
  	var block string
  	for _, i := range split {
  		if inquote == "" {
  			if strings.HasPrefix(i, "'") || strings.HasPrefix(i, "\"") {
  				inquote = string(i[0])
  				block = strings.TrimPrefix(i, inquote) + " "
  			} else {
  				result = append(result, i)
  			}
  		} else {
  			if !strings.HasSuffix(i, inquote) {
  				block += i + " "
  			} else {
  				block += strings.TrimSuffix(i, inquote)
  				inquote = ""
  				result = append(result, block)
  				block = ""
  			}
  		}
  	}
  
  	return result
  }
docs: // copied from https://gist.github.com/jmervine/d88c75329f98e09f5c87