The submit command of the Winget-Create tool is designed to submit an existing manifest to the Windows Package Manager repo automatically. To use the submit command, you simply need to provide your GitHub token and path to the manifest file to submit.
WingetCreateCLI.exe submit [\<options>] <PathToManifest>
The following arguments are available:
Argument |
Description |
---|---|
-t, --token | GitHub personal access token used for direct submission to the Windows Package Manager repo. If no token is provided, tool will prompt for GitHub login credentials. |
If you have provided your GitHub token on the command line along with the --submit command and the device is registered with Github, WingetCreate will submit your PR to Windows Package Manager repo.
If you would like to write the file to disk rather than submit to the repository, you can pass in the --output command along with the file name to write to.