Deleting / Removing measures using a plugin
How can you delete /remove measures from a score using a plugin? In particular I wish to delete the last measure in a score.
There is a 'del-empty-measures' command, but I cannot see a command to delete a particular measure. There are commands to 'insert-measure' and 'append-measure'
The 'score' object has an 'appendMeasures' method. but I cannot see an insert measures option or a delete measure method.