Some packages only publish a single version at a time. As a contributor, I'd like to be able to use wingetcreate to create a new version, and in the same commit, remove the old version so that I don't have to follow up in a second PR to remove the currently broken version.
Proposed technical implementation details
A --replace argument for wingetcreate update, optionally taking a version number (but if none is given and there's a single version currently in the community repo, then it should just know to remove the only existing one).
Description of the new feature / enhancement
Some packages only publish a single version at a time. As a contributor, I'd like to be able to use wingetcreate to create a new version, and in the same commit, remove the old version so that I don't have to follow up in a second PR to remove the currently broken version.
Proposed technical implementation details
A
--replace
argument forwingetcreate update
, optionally taking a version number (but if none is given and there's a single version currently in the community repo, then it should just know to remove the only existing one).