PSResourceGet icon indicating copy to clipboard operation
PSResourceGet copied to clipboard

Multiple Path support for Compress-PSResource

Open sdwheeler opened this issue 1 year ago • 0 comments

Summary of the new feature / enhancement

As a module packager I want to be able to create multiple packages with one command, where each package is in a different folder. The .nupkg files would all be written to the destination folder.

Proposed technical implementation details (optional)

  • The Path parameter should be [String[]] type and should have the [SupportsWildards] attribute
    • ValueFromPipeline : True
    • ValueFromPipelineByPropertyName : True
  • Add the LiteralPath parameter as [String[]] type to support literal paths.
    • ValueFromPipeline : False
    • ValueFromPipelineByPropertyName : True
    • AliasNames : {PSPath, LP}

sdwheeler avatar Sep 20 '24 13:09 sdwheeler