Open leonard84 opened 4 years ago
@willcohen since a release is in sight, WDYT about adding this?
Hi there -- I'm not personally a Windows user and am unfamiliar with PowerShell, so I'm not sure where to go from here. A PR that incorporates this would be very useful!
I'm unsure how to best add this to the installation, basically the file must be put in $Home\Documents\WindowsPowerShell\Modules\JabbaExt\JabbaExt.psm1
.
Should I just inline it into the install.ps1
script or would you add the module to the release so that it can be downloaded like the exe?
I've created a small PowerShell module for jabba https://gist.github.com/leonard84/3828a2584e6a3cbc30a90c44c86b191e
It uses dedicated functions, e.g.
Jabba-Use
as this makes the auto completion easier.Here is the documentation on how to install a PowerShell module https://docs.microsoft.com/en-us/powershell/scripting/developer/module/installing-a-powershell-module?view=powershell-7
It must be put here
$Home\Documents\WindowsPowerShell\Modules
(%UserProfile%\Documents\WindowsPowerShell\Modules)In short it must be put in
$Home\Documents\WindowsPowerShell\Modules\JabbaExt\JabbaExt.psm1