JustinGrote / ModuleFast

A "fast and loose" way to install modules from Powershell Gallery quickly. Meant for CICD, not production
Other
74 stars 5 forks source link

Support an "Update All Local Modules" scenario #79

Open JustinGrote opened 6 months ago

JustinGrote commented 6 months ago

We should support the following pattern:

Get-Module -ListAvailable | Update-ModuleFast

If we detect a standard module path is provided to us, we should translate that into a modulespec as follows:

  1. Versions greater than what was provided up to the next major version
  2. Implied -Update in this regard
  3. Display "Module Not Found" in the gallery as a warning rather than a hard stop.
  4. If -Update is explicitly specified, then the major version restrictions are lifted.

This should probably also come after multi-repo support.