PowerShell / PowerShell/PSResourceGet

Multiple Path support for Compress-PSResource

Open
#1,709 0 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.