winget-cli
winget-cli copied to clipboard
Able to import packages.json via a URL
Description of the new feature/enhancement
An way to import exported winget JSON data via a full URL (eg: GitHub, GitLab, etc)
Example URL: https://github.com/Dev-CasperTheGhost/dotfiles/blob/main/ms/winget-exports.json
Having a way to import it via a URL can be a lot easier then having to first download the file, and makes it a bit handier 😄
may be a dup of #1063?
[Policy] Command-Import
I would love this as well. This would avoid having to run multiple commands to download and store the file, then import, then delete the temp file.
Another way to solve the problem would be to allow the JSON content to be provided via stdin, so we could pipe it directly from Invoke-WebRequest.