Skip to content

az extension update - Show non-warning output for whether an extension is updated #29333

@o-l-a-v

Description

@o-l-a-v

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.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions