Fix README

This commit is contained in:
Marc Cornellà 2019-03-24 11:27:25 +01:00 committed by GitHub
parent 1a4052b045
commit a055930cf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
# Lighthouse plugin # Lighthouse plugin
This plugin issue lighthouse tickets. This plugin adds commands to manage [Lighthouse](https://lighthouseapp.com/).
To use it, add `lighthouse` to the plugins array in your zshrc file: To use it, add `lighthouse` to the plugins array in your zshrc file:
@ -8,8 +8,19 @@ To use it, add `lighthouse` to the plugins array in your zshrc file:
plugins=(... lighthouse) plugins=(... lighthouse)
``` ```
## Aliases ## Commands
| Alias | Command | Description | * `open_lighthouse_ticket <issue>` (alias: `lho`):
|-------|----------------------------------------|------------------------------------------------------|
| lho | `open_lighthouse_ticket` | Opening lighthouse ticket | 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
```