PowerShell / PowerShell/PSResourceGet

`Find-PSResource` and `Save-PSResource` does not have `-RequiredResource` and `-RequiredResourceFile`

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

Nobody has claimed this yet.

Area-Find Area-Save feature_request Up-For-Grabs
Dominant language
C#
Stars
576
Forks
114
Avg merge
1d 2h
Merged PRs (30d)
7

Description

Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues.
Steps to reproduce

While looking at #1794 I noticed that Find-PSResource and Save-PSResource does not have -RequiredResource and -RequiredResourceFile.

  • Save-PSResource: Should have feature parity to Install-PSResource, no?
  • Find-PSResource: To write tests for the fix to #1794 it'd be nice if Find-PSResource had these parameters added, then you can test that specific problem without downloading anything.
Expected behavior
See description.
Actual behavior
See description.
Error details

Environment data
Not relevant.
Visuals

No response

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 by comparing the existing parameter handling for Install-PSResource with the Find-PSResource and Save-PSResource entry points, and review issue #1794 for the testing motivation. Done means both cmdlets accept RequiredResource and RequiredResourceFile with behavior and tests consistent with Install-PSResource, including a way to exercise the Find-PSResource case without downloading.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.