Skip to content

Add '--autocolumnwidth' option #2161

@sba923

Description

@sba923

Description of the new feature / enhancement

The current behavior of winget is that it looks at the first 50 output rows to determine the width of the output columns.

As a result, there are many cases where output information is truncated.

image

image

This is inconvenient, and break approaches to parse winget's output such as https://gist.github.com/sba923/7924b726fd44af91d18453ee595e6548

Adding an option to trigger a behavior similar to PowerShell's FormatTable -AutoSize would help.

Proposed technical implementation details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-OutputIssue related to CLI outputIssue-FeatureThis is a feature request for the Windows Package Manager client.

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions