Provide "force" or "replace" functionality #115
Labels
stale::recovered
[bot] recovered after being marked as stale
type::feature
request for a new feature or capability
type::poc
indicates some proof of concept or MVP work
Checklist
What is the idea?
The current API will raise an exception if a shortcut with the same name/location is already in place. It would be nice to have some sort of "force" functionality so that the command does not fail, and overwrites the found menu item with the new one.
Why is this needed?
In the context of updates of application packages, the package containing the menu might be the same for different versions, so having the ability to replace an existing menu with a new version without having to first delete the all one "manually" via the API would be benefitial.
What should happen?
Add a parameter to the create remove API could be an option.
Additional Context
No response
The text was updated successfully, but these errors were encountered: