Open denelon opened 2 years ago
Argument completer still requires typing 5 chars each time. How about we get a single letter shortcut to accept both ?
Regarding configuration we could have something like 'default arguments' which goes beyond this setting. I would for example like to have --silent always on besides those two.
@majkinetor several of the "settings" will do things like set a "preference" or a "requirement". We're still discussing the best way to deal with agreements, "all-up".
Thanks for the feedback here! 😊
[Policy] Area-Settings
Winget upgrade --all should assume --accept-source-agreements --accept-package-agreements
Description of the new feature / enhancement
Some users have asked to simplify accepting source agreements and package agreements.
Typing "--accept-source-agreements" and "--accept-package-agreements" isn't everyone's favorite thing to do.
Note: The argument completer (tab completion) saves typing in PowerShell.
Proposed technical implementation details
Add settings for the "winget", and "msstore" source to accept agreements.
Consider how agreements for other sources and packages could be handled in settings. There are likely to be edge cases for sources that aren't configured, or settings that may have been misconfigured.