Azure / Azure/azure-cli

Tab completion features do not work in PowerShell or Windows command prompt.

Open
#19,896 7 comments 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-platform-engineering-squad Auto Complete Core feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Describe the bug**

1. Installed AZ CLI from https://aka.ms/installazurecliwindows on Windows 10 Enterprise version 1909 (OS Build 18363.1854).
2. Control Panel shows Azure CLI verison installed is 2.29.0
3. Open Command Prompt (Run as administrator or even without administrator mode).
4. Execute command "az --ver" and hit tab for auto-completion.
No results.

Howver if we complete the command as "az --version" then it does return the installed version as shown in Control Panel output.

Get a similar issue when attempting to access from PowerShell (5.1) or PowerShell (7.1.0)
**Expected behavior**

Tab completion of commands should display command options, both in Command Prompt and PowerShell.

**Environment summary**

Installed AZ CLI from https://aka.ms/installazurecliwindows on Windows 10 Enterprise version 1909 (OS Build 18363.1854)
**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.