code: func (StoreValidation) CreateArgs(req CreateTaskRequest) (options.Options, error) {
  	var missing []string
  	var o options.Options
  
  	if req.Script == "" {
  		missing = append(missing, "script")
  	} else {
  		var err error
  		o, err = options.FromScript(req.Script)
  		if err != nil {
  			return o, err
  		}
  	}
  
  	if !req.Org.Valid() {
  		missing = append(missing, "organization ID")
  	}
  	if !req.User.Valid() {
  		missing = append(missing, "user ID")
  	}
  
  	if len(missing) > 0 {
  		return o, fmt.Errorf("missing required fields to create task: %s", strings.Join(missing, ", "))
  	}
  
  	if err := req.Status.validate(true); err != nil {
  		return o, err
  	}
  
  	return o, nil
  }
docs: // CreateArgs returns the script's parsed options,
  // and an error if any of the provided fields are invalid for creating a task.