PowerShell / PowerShell/PSResourceGet
Multiple Path support for Compress-PSResource
Open
Nobody has claimed this yet.
Area-nupkg
feature_request
- Dominant language
- C#
- Stars
- 576
- Forks
- 114
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 7
Description
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}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Compress-PSResource command entry point and inspect how its current Path parameter is declared and bound. Add support for multiple paths, wildcard handling, and the requested LiteralPath aliases; done means one command can create packages from different folders and write all .nupkg files to the destination folder.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100