Trigger delete command reference
Find the options and arguments you can use to delete triggers from the Unity Version Control command line.
阅读时间1 分钟最后更新于 5 天前
The command deletes a trigger on a server.
cm trigger deleteUsage
cm trigger | tr delete | rm <subtype-type> <position_number> [--server=<repserverspec>]
cm trcm triggerrmdeleteOptions and arguments
The command accepts the following options and arguments:
cm trigger deleteOption or argument | Required | Description |
|---|---|---|
| Yes | Trigger execution and trigger operation. To see a list of trigger types, run |
| Yes | Position of the trigger to delete. |
| No | Deletes the trigger on the specified server. If you don't specify a server, the command runs on the server that the client is configured to use. |
Example commands to delete triggers
Delete the trigger of type at position 4:
after-setselectorcm trigger delete after-setselector 4
Delete the same trigger with the short command names:
cm tr rm after-setselector 4