microsoft / microsoft/winget-cli

Winget command to create support bundle

Open
#1,976 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

comparing to other technology like DELL or CommVault, Datacore it would be great to have a new command for winget to create a support bundle to make reporting in github easier.

Proposed technical implementation details

Implement a new command switch (not forgetting about a PowerShell command)

Example:
winget --support

What's expected to happen:

  1. Output should indicate what's happening.
  2. Prior execution, ask for user prompt and inform about the procedure, that clipboard content will be overwritten (if one does not use Windows + V), and that logs will be collected and zipped, saved in the specific location.
  3. fetch logs from logs folder and zip them, use unique name and timestamp.
  4. ZIP target location could be specified otherwise default to a well-known folder like Desktop or better Download folder.
  5. Copy relevant information from winget --info to Windows clipboard, such as:
  • Winget version
  • Windows Version
  • Package Version

Use case:
Reporting an issue or idea is easier, as users do not have to prepare all necessary data manually.

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 by locating the CLI command dispatch and the existing --info and PowerShell command implementations. Review the available log, ZIP, prompt, and clipboard support before defining the command behavior; done means a confirmed support bundle is collected to a unique destination and relevant version details are copied to the clipboard.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, powershell
Domain
cli, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.