PowerShell / PowerShell/PSResourceGet
`Find-PSResource` and `Save-PSResource` does not have `-RequiredResource` and `-RequiredResourceFile`
Open
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 toInstall-PSResource, no?Find-PSResource: To write tests for the fix to #1794 it'd be nice ifFind-PSResourcehad 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
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 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