Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.9 KB

submit.md

File metadata and controls

29 lines (18 loc) · 1.9 KB

submit command (Winget-Create)

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.

Usage

Submit local manifest file to Windows Package Manager repo:

wingetcreate.exe submit --prtitle <PullRequestTitle> --token <GitHubPersonalAccessToken> <PathToManifest>

Arguments

The following arguments are available:

Argument Description
-p, --prtitle The title of the pull request submitted to GitHub.
-r, --replace Boolean value for replacing an existing manifest from the Windows Package Manager repo. Optionally provide a version or else the latest version will be replaced. Default is false.
-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.
-?, --help Gets additional help on this command.

If you have provided your GitHub token on the command line with the submit command and the device is registered with GitHub, Winget-Create will submit your PR to Windows Package Manager repo.

Instructions on setting up GitHub Token for Winget-Create can be found here.

Output

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.