microsoft / microsoft/winget-cli

Add `--suppress-disclaimer` Option to `winget configure`

Open
#6,419 2 comments 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

Relevant area(s)

WinGet CLI

Description of the new feature / enhancement

Hello! I am using winget configure and have a series of several files I'm applying atomically. One thing I've noticed, is that winget configure prints this rather large block of text on every execution and there does not appear to be a way to suppress it, even using all the flags to suppress extra output (winget configure -f .\fonts.configuration.winget --accept-configuration-agreements --disable-interactivity --suppress-initial-details):

You are responsible for understanding the configuration settings you are choosing to execute. Microsoft is not responsible for the configuration file you have authored or imported. This configuration may change settings in Windows, install software, change software settings (including security settings), and accept user agreements to third-party packages and services on your behalf.  By running this configuration file, you acknowledge that you understand and agree to these resources and settings. Any applications installed are licensed to you by their owners. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages or services.

Would it be possible to get a CLI flag like --suppress-disclaimer added?

Thanks!

Proposed technical implementation details

No response

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 configure entry point and compare the existing --accept-configuration-agreements, --disable-interactivity, and --suppress-initial-details handling. The change is complete when a --suppress-disclaimer option suppresses the disclaimer during configuration while the default output remains unchanged; verify both invocations.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.