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

-Plan and -PassThru should include packages that are already installed #80

Open JustinGrote opened 6 months ago

JustinGrote commented 6 months ago

I'll probably add a new attribute to ModuleFastInfo that will include a status flag, which can be used for some nice terraform-like formatting. Statuses will probably be something like Installed,ToInstall, etc. and considering whether NotFound should no longer kill a run but instead report a NotFound status.

johlju commented 5 months ago

Would it be a breaking change for -Plan as it now returns only the packages that will be downloaded/installed. 🤔

JustinGrote commented 5 months ago

@johlju somewhat, there will be a new property with the package status, but that's ultimately how I envisioned it working originally (similar to terraform plan). Passing already-installed packages to install-modulefast should no-op, so there should be no breaking change in the end result.