/posh-dotnet

PowerShell tab completion and tooltip support for the dotnet CLI.

Primary LanguagePowerShellGNU General Public License v3.0GPL-3.0

posh-dotnet Build status AppVeyor tests codecov PSScriptAnalyzer License: GPL v3

PowerShell tab completion for the dotnet CLI.

Tab completion demo

Installation

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

Usage

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.