How to add cut function in workspace right menu bar?

hi all,
I want to add a cut function in the workspace right menu bar.
what should I do?

@qingtingzhiyu please take a look at documentation provided on the website for contributing menus/keybindings/command: (Theia - Cloud and Desktop IDE Platform).

The idea is to register the cut command to the appropriate menu path (through a MenuContribution).