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 for PSResourceGet, RequiredModules, and PSDepend manifest files #60

Closed JustinGrote closed 6 months ago

JustinGrote commented 6 months ago

The -Path parameter can now be directed to a manifest .psd1 or .json file of these alternate specification formats and ModuleFast will resolve and install the packages. In PSDepends case, only Module Specifications are handled, other specifications such as Git repos or formats are ignored. The Repository specification is also ignored until multi-repository support lands in ModuleFast.

ModuleFast has some limited autodetection for the format used, but in case it guesses wrong, there is also a new -SpecFileType parameter to explicitly define which format the file is in. Check the debug messages to see which format it detected and why.