bach winget writes the manifests the Windows Package Manager needs to list a setup file, ready for a pull request to microsoft/winget-pkgs.
Output
It writes the version, installer and default-locale manifests, and prints:Publisher.AppId, built from the publisher and the app id with only the characters winget allows. The installer manifest uses InstallerType: exe, Scope: user, the switches --silent, --dir and --log, and the app id as ProductCode.
See List your app in winget. For Chocolatey, see bach choco.