code: func (o *kustomizeOptions) Validate(args []string) error {
  	if len(args) > 1 {
  		return errors.New("specify one path to a kustomization directory")
  	}
  	if len(args) == 0 {
  		o.kustomizationDir = "./"
  	} else {
  		o.kustomizationDir = args[0]
  	}
  
  	return nil
  }
docs: // Validate validates build command.