(descriptor)
| 985 | } |
| 986 | |
| 987 | addCommand(descriptor) { |
| 988 | const command = registerExternalCommand(descriptor); |
| 989 | this.#refreshCommandBindings(); |
| 990 | return command; |
| 991 | } |
| 992 | |
| 993 | removeCommand(name) { |
| 994 | if (!name) return; |
nothing calls this directly
no test coverage detected