code: func Validate(genericArgs *args.GeneratorArgs) error {
  	customArgs := genericArgs.CustomArgs.(*CustomArgs)
  
  	if len(genericArgs.OutputPackagePath) == 0 {
  		return fmt.Errorf("output package cannot be empty")
  	}
  	if len(customArgs.VersionedClientSetPackage) == 0 {
  		return fmt.Errorf("versioned clientset package cannot be empty")
  	}
  	if len(customArgs.ListersPackage) == 0 {
  		return fmt.Errorf("listers package cannot be empty")
  	}
  
  	return nil
  }
docs: // Validate checks the given arguments.