microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.53k stars 1.39k forks source link

WinGet configure should look for a default config file if none is provided #4482

Open jmatthiesen opened 1 month ago

jmatthiesen commented 1 month ago

Description of the new feature / enhancement

I'm a lazy developer and like to type as few characters as possible. It would be great if I could just run the winget configure command from the root of a project folder and the configure command would find my default config and use it. Similar to how I can run the npm install command with Node applications and I don't have to specify a path to my package.json, or I can run dotnet build for .NET apps and I don't have to specify what project file to build (but I can if the defaults don't work for me).

Proposed technical implementation details

When a user runs winget configure in a folder:

denelon commented 1 month ago

Related to: