PLEASE NOTE: This module targetted the v1 Azure CLI (azure
) and does not work with the v2 CLI (az
)
As such, this repo is now read-only and no longer maintained
Provides tab completion for azure cli commands in PowerShell
Inspired by posh-git
PLEASE NOTE: This is NOT a supported extension to Azure CLI!
You can install posh-azurecli via the PowerShell Gallery
Install-Module -Name posh-azurecli
Install-AzureCliCompletion
If you update the CLI version then run the following to regenerate the metadata for completion
Reset-AzureCliCompletion
And to uninstall run
Uninstall-AzureCliCompletion
Remove-Module posh-azurecli
Uninstall-Module -Name posh-azurecli
Ensure that you have chocolatey installed.
Milestone drops are waiting on chocolatey moderation. I'll update this page once available :-)
There is also a non-milestone feed now up on MyGet. To install these interim drops use:
choco install posh-azurecli -source 'https://www.myget.org/F/posh-azurecli/api/v2'
Released to non-milestone feed 17th December. Released to PowerShell Gallery 17th December.
- Update Install-AzureCliCompletion to trigger Reset-AzureCliCompletion to simplify installation
Released to non-milestone feed 17th December. Released to PowerShell Gallery 17th December.
- Add Install-AzureCliCompletion, Uninstall-AzureCliCompletion
Released to non-milestone feed 17th December
- Add Reset-AzureCliCompletion cmdlet to regenerate CLI metadata for completion. This helps towards PowerShell Gallery listing.
Released to non-milestone feed 2nd November 2015
- Fixed version test on installation
Released to non-milestone feed 19th August 2015
- Add handling to use the first path for Azure CLI installation
- Add debug output (POSH_AZURECLI_DEBUG flag)
Released to non-milestone feed 18th August 2015
- Add a version check on Azure CLI in chocolatey install (requires >= 0.9.7)
- Update path to license file in nuspec
Released to non-milestone feed 18th August 2015
- Update to utility function to handle PATH strings with empty segments
Released to non-milestone feed: 14th August 2015
- Provide command completion for initial command
- Sort command completion results
- Add caching of parsed command metadata
Released to non-milestone feed: 14th August 2015
- Basic functionality