improve docs

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-02-04 08:27:57 -05:00
1 parent 31534317d8
commit 76a8a47a4c
2 files changed
+8 -1

No files matched your search

@@ -32,6 +32,13 @@ export default class ExampleExtensionMain extends LensMainExtension {
}
```
For testing the routing of URIs the `open` (on macOS) or `xdg-open` (on most linux) CLI utilities can be used.
For the above handler, the following URI would be always routed to it:
```
open lens://extension/example-extension/
```
## Deregistering A Protocol Handler
All that is needed to deregister a handler is to remove it from the array of handlers.