ModuleFast icon indicating copy to clipboard operation
ModuleFast copied to clipboard

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

Open JustinGrote opened this issue 1 year ago • 2 comments

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.

JustinGrote avatar Feb 03 '24 19:02 JustinGrote

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

johlju avatar Feb 07 '24 17:02 johlju

@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.

JustinGrote avatar Feb 07 '24 17:02 JustinGrote