microsoft / microsoft/winget-cli
Winget command to create support bundle
Nobody has claimed this yet.
- 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:
- Output should indicate what's happening.
- 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.
- fetch logs from logs folder and zip them, use unique name and timestamp.
- ZIP target location could be specified otherwise default to a well-known folder like Desktop or better Download folder.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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