PowerShell / PowerShell/PSResourceGet

Publish-PSResource -Nupkg should support multiple values and wildcards

Open
#1,710 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Publish 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 package publisher, I want to be able to publish multiple .nupkg files with one command. For example, I have packaged and signed multiple packages .nupkg files. I now want to provide multiple paths or a wildcard pattern to publish all .nupkg files in a folder.

Proposed technical implementation details (optional)
  • The Nupkg paramater needs to be [String[]] type and have the [SupportsWildcard] attribute
    • Suggest renaming the parameter to NupkgPath
  • If you support wildcards then you need to support a literal path version such as NupkgLiteralPath

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 Publish-PSResource command and inspect how its Nupkg parameter is declared and resolved. Done means accepting multiple package paths, wildcard patterns, and a literal-path form so one command can publish multiple .nupkg files.

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
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.