microsoft / microsoft/winget-cli

Import command shall support a pre-check / '--WhatIf'

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

Nobody has claimed this yet.

Command-Import 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

In scripting situations it would be good to know pretty quickly if and what winget import would do, e.g. which packages are missing.

Proposed technical implementation details

There shall be a method for a dry-run of winget import, like a command line paramter --WhatIf. It is supposed to be a fast activity and safe time in comparison to running winget import.

I may refer to brew bundle check here on the Homebrew side…

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

No files, tests, or entry points are named. Start by locating the winget import command and its option parsing, then compare the requested dry-run behavior with Homebrew's brew bundle check. Done means --WhatIf safely performs a fast pre-check and reports which packages are missing without installing anything.

Written by the indexing model from the issue text.

Assessment

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