2018-10-20 11:25:19 +08:00
|
|
|
# Lighthouse plugin
|
|
|
|
|
2019-03-24 18:27:25 +08:00
|
|
|
This plugin adds commands to manage [Lighthouse](https://lighthouseapp.com/).
|
2018-10-20 11:25:19 +08:00
|
|
|
|
|
|
|
To use it, add `lighthouse` to the plugins array in your zshrc file:
|
|
|
|
|
|
|
|
```zsh
|
|
|
|
plugins=(... lighthouse)
|
|
|
|
```
|
|
|
|
|
2019-03-24 18:27:25 +08:00
|
|
|
## Commands
|
2018-10-20 11:25:19 +08:00
|
|
|
|
2019-03-24 18:27:25 +08:00
|
|
|
* `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:
|
|
|
|
```zsh
|
|
|
|
$ 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
|
|
|
|
```
|