microsoft / microsoft/winget-cli

Search for package by file extension

Open
#1,917 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Command-Search 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'd like to be able to search for packages that support a file extension.

winget search --extension .json

This would return the list of packages that support the .json extension.

Related to:

  • #1916
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 with the winget search command entry point and review related issue #1916 for context. Trace how package metadata is searched and determine how file extensions could be represented and queried. Done means winget search --extension .json returns packages supporting that extension, with appropriate search behavior verified by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, search
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.