Azure / Azure/azure-cli

Display command successes?

Open
#15,216 1 comment 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-codegen-extensibility-squad Configure 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.**

Problem: No clear feedback and/or indication whether the setting has gone through or not

Scenario: Was attempting to suppress warning text with az config set only show error:

![image](https://user-images.githubusercontent.com/30876406/93723969-f63ada00-fb57-11ea-8e45-ba1261ead127.png)

and was surprised to see that the pumpkin text still shows for the subsequent operation because I'd expected the config setting to go through since there's no output indicating that it hasn't

Little did I know that it's actually only_show_errors

![image](https://user-images.githubusercontent.com/30876406/93724009-53cf2680-fb58-11ea-9336-42768f321aa3.png)

**Describe the solution you'd like**
1) If the config has gone through successfully, we should clearly output & indicate in the tool so. That way we provide full confidence and feedback on what the end user should expect. Otherwise we leave people confused

2) If the config hasn't gone through, we should also point that out, ideally with the proper recommendations. Some reasoning as 1).

**Describe alternatives you've considered**
No alternatives, IMHO it's fundamental to indicate success/non-success for command operations

**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.