`az extension update` - Show non-warning output for whether an extension is updated
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Related command**
extension
**Is your feature request related to a problem? Please describe.**
`az extension update --name bastion` (example) currenly only shows output in the warning output stream if an update was not available.
```text
Default enabled including preview versions for extension installation now. Disabled in future release. Use '--allow-preview true' to enable it specifically if needed. Use '--allow-preview false' to install stable version only.
Latest version of 'bastion' is already installed.
Use --debug for more information
```
Why is the warning output stream used as a general output / information for this command? I'd like the default output to only say whether an upgrade was available, and whether it was installed. So please redirect `Latest version of 'bastion' is already installed.` to stdout.
**Describe the solution you'd like**
Redirect general info to stdout, instead of using the warning output stream.
**Describe alternatives you've considered**
Redirect and parse the warning stream myself to only output the relevat info `Latest version of 'bastion' is already installed.`.
**Additional context**
* Doc:
* Az CLI version: v2.61.0
Contributor guide
Assessment
This issue has not been assessed yet.