microsoft / microsoft/winget-cli

Ability to show specific fields with `winget show`

Open
#2,382 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Command-Show Issue-Feature
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Description of the new feature / enhancement

I want to see a specific field from a package's manifest, for example I want to see only its tags or the license. Currently I have to manually scroll and look for the label I want. I would like to have an argument to select which fields to show (either a single one or multiple).

Example

> winget show -s winget powertoys --license
License: MIT

This will probably be moot once we have the PS cmdlets and can do something like (Find-WingetPackage powertoys).License

Proposed technical implementation details

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the implementation and tests for the winget show command and trace how manifest fields are selected and rendered. Determine how a single or multiple field arguments should be parsed, then verify that requests such as winget show -s winget powertoys --license display only the selected field.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.