Azure / Azure/azure-cli

The command suggestion on the account list --all

Open
#14,512 1 comment 0 reactions 1 assignee Claimed by @jiasli View on GitHub
Account act-identity-squad customer-reported 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**

When I ran the Azure CLI on my terminal (use az interactive mode), the CLI cannot detect the command "account list --all" as "account list -a".

**To Reproduce**

UserName@DeviceName ~ % az interactive
This command is in preview. It may be changed/removed in a future release.
az>>
az>> account list -a -o table
az: error: unrecognized arguments: -a
usage: az [-h] [--verbose] [--debug] [--only-show-errors] [--output {json,jsonc,yaml,yamlc,table,tsv,none}] [--query JMESPATH] {account} ...
az>> account list --all -o table
Name CloudName SubscriptionId State IsDefault
------------------ ----------- ------------------------------------ ------- -----------
Azure for Students AzureCloud ********************************** Enabled False
az>>

**Expected behavior**

CLI should set an abbreviation for the command in order to accelerate the developer's working efficiency.

**Environment summary**

Devices: On MacBook Pro 16inch 2019

System: macOS Catalina version 10.15.5
**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.