microsoft / microsoft/winget-cli
Import with --silent
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
winget install has the -h, --silent (Runs the installer in silent mode. This suppresses all UI. The default experience shows installer progress.) flag. This flag does not exist for winget import and henceforth shows the installer ui.
i.e. when installing VS Code (in user mode) via winget import -i my-json-file.json it will show the VS Code installer UI (running through without any interaction though).
I am currently using winget to setup some tools on first logon with import, which in turn shows the installer UIs on logon.
Having the -h, --silent would greatly improve the user experience and avoid having to create executable scripts with winget install --silent.
Proposed technical implementation details
The same behaviour of -h, --silent from install in import to hide installer UIs.
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 comparing how the install command defines and handles --silent with the corresponding import command path. Verify the command help and import flow, then ensure winget import --silent suppresses installer UI in the same way as winget install --silent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100