Azure / Azure/azure-cli

Instruct user to upgrade to the latest version if a command (group) is not found

Open
#17,261 1 comment 0 reactions 1 assignee Claimed by @houk-ms View on GitHub
Error Handling feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Is your feature request related to a problem? Please describe.**

Users are complaining `az config` can't be found: https://github.com/MicrosoftDocs/azure-docs-cli/issues/2469, https://github.com/MicrosoftDocs/azure-docs-cli/issues/2465

**Describe the solution you'd like**

Instead of showing error message

![](https://user-images.githubusercontent.com/37556655/110429580-01c78200-8060-11eb-8b9f-b0985f647f02.png)

The error message can instruct the user to upgrade to the latest version if a command (group) is not found.

**Describe alternatives you've considered**

As provided in https://ceapex.visualstudio.com/Engineering/_workitems/edit/327926, the `long-summary` of the command can show the minimal version, but this takes much greater development effort.

> This command (group) requires Azure CLI version xx.xx.xx

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.