2019-11-12 17:55:38 +00:00
|
|
|
# Lighthouse plugin
|
|
|
|
|
|
|
|
This plugin adds commands to manage [Lighthouse](https://lighthouseapp.com/).
|
|
|
|
|
|
|
|
To use it, add `lighthouse` to the plugins array in your zshrc file:
|
|
|
|
|
|
|
|
```zsh
|
|
|
|
plugins=(... lighthouse)
|
|
|
|
```
|
|
|
|
|
|
|
|
## Commands
|
|
|
|
|
|
|
|
* `open_lighthouse_ticket <issue>` (alias: `lho`):
|
|
|
|
|
|
|
|
Opens the URL to the issue passed as an argument. To use it, add a `.lighthouse-url`
|
|
|
|
file in your directory with the URL to the individual project.
|
|
|
|
|
|
|
|
Example:
|
2020-06-11 14:59:30 +00:00
|
|
|
```zsh
|
2019-11-12 17:55:38 +00:00
|
|
|
$ cat .lighthouse-url
|
|
|
|
https://rails.lighthouseapp.com/projects/8994
|
|
|
|
|
|
|
|
$ lho 23
|
|
|
|
Opening ticket #23
|
|
|
|
# The browser goes to https://rails.lighthouseapp.com/projects/8994/tickets/23
|
|
|
|
```
|