PowerShell
tab completion for the dotnet CLI.
You can install it via the PSGallery
if ($PSVersionTable.PSVersion.Major -ge 5) {
Install-Module posh-dotnet -Force
}
else {
Install-Module TabExpansionPlusPlus -Force
Install-Module posh-dotnet -Force
}
Alternatively you can also use it directly from this repo
git clone https://github.com/bergmeister/posh-dotnet.git
cd .\posh-dotnet
Import-Module .\posh-dotnet.psd1
Import-Module posh-dotnet
It has been tested using the dotnet CLI version 1.0.3 and 2.0.3 on Windows PowerShell 5.1
and PowerShell Core 6.0 RC
but it should also work down to version 3.0 of PowerShell
.