-
Notifications
You must be signed in to change notification settings - Fork 100
Description
Description of the new feature / enhancement
Like added in #277 in my mind it would only be logical to also add the argument to the submit command.
I just found a manifest with incorrect information, used the update command with the replace parameter, then corrected and tested the manifest files and now had them submitted with wingetcreate submit. But submit doesn't support a the replace parameter and therefore just created a new PR which made the replace parameter in update have no effect.
If the replace parameter for some reason won't be added to the submit command at least the --submit parameter should be made mandatory if --replace is called or --replace should automatically contain --submit.
Proposed technical implementation details
Expected behavior
winget update [...] -r -> winget submit [...] -> new PR created and old PR requested to be removed/reverted
Actual behavior
winget update [...] -r -> winget submit [...] -> new PR created
OS
Windows 11 x64 23H2
wingetcreate version
WingetCreateCLI 1.5.7.0