code: func ParseCmd(cmd string) ([]*api.GenericResource, error) {
  	if strings.Contains(cmd, "\n") {
  		return nil, newParseError("unexpected '\\n' character")
  	}
  
  	r := csv.NewReader(strings.NewReader(cmd))
  	records, err := r.ReadAll()
  
  	if err != nil {
  		return nil, newParseError("%v", err)
  	}
  
  	if len(records) != 1 {
  		return nil, newParseError("found multiple records while parsing cmd %v", records)
  	}
  
  	return Parse(records[0])
  }
docs: // ParseCmd parses the Generic Resource command line argument
  // and returns a list of *api.GenericResource