JustinGrote / ModuleFast

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

Fix alias in Install-ModuleFast #18

Closed johlju closed 8 months ago

johlju commented 8 months ago

In the current release (that the bit.ly-link points at) the now parameter Specification was called ModulesToInstall (plural), it was then renamed to ModuleToInstall (singylar) and now finally it is called Specification.

See blame: https://github.com/JustinGrote/ModuleFast/blame/13f7890a076fc4df1ccea5b3a1a8ae1537ecb2f7/ModuleFast.psm1#L73C6-L73C22

This PR adds an alias to also handle the older parameter name ModulesToInstall.

johlju commented 8 months ago

@JustinGrote I think this will help existing scripts from breaking.

JustinGrote commented 8 months ago

LGTM! Thanks!