microsoft / microsoft/winget-cli

Winget Configuration Export should support more than one ID

Open
#4,485 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Command-Configure 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 want to be able to export more than one app.

I type in winget configuration export -o C:\temp\export.winget --package-id git.git Microsoft.VisualStudio

and fail.

or
winget configuration export -o C:\temp\export.winget --package-id git.git --package-id Microsoft.VisualStudio
Windows Package Manager (Preview) v1.8.1311-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Argument provided more times than allowed: 'package-id'

Proposed technical implementation details

Allow for more than one app to be submitted

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 at the winget configuration export command and its --package-id argument handling. Confirm how export currently processes one package ID, then verify that multiple IDs are accepted and all requested apps are included in the generated configuration export.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.