PowerShell / PowerShell/PSResourceGet
[Feature Request] -RequiredResource(File) for Save-Module
@alerickson is already working on this.
Since Aug 17, 2022.
- Dominant language
- C#
- Stars
- 576
- Forks
- 114
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 7
Description
There are many circumstances where you want to install modules to somewhere other than the powershell modules folder, for instance if creating the equivalent of a python "virtual environment" for CI builds, or other circumstances where you want a module but don't want to deploy it to the main path.
Save-Module usually fulfills this use path, and as such it should support the same items for "restore"-like functionality
Alternatively, add -Path or -Destination parameter to Install-Module to specify an alternate location. It should be in a different parameter set then -Scope
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.
Assessment
This issue has not been assessed yet.