README.md 690 Bytes
Newer Older
Pasan's avatar
Pasan committed
1
2
# Lighthouse plugin

Marc Cornellà's avatar
Marc Cornellà committed
3
This plugin adds commands to manage [Lighthouse](https://lighthouseapp.com/).
Pasan's avatar
Pasan committed
4
5
6
7
8
9
10

To use it, add `lighthouse` to the plugins array in your zshrc file:

```zsh
plugins=(... lighthouse)
```

Marc Cornellà's avatar
Marc Cornellà committed
11
## Commands
Pasan's avatar
Pasan committed
12

Marc Cornellà's avatar
Marc Cornellà committed
13
14
15
16
17
18
* `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:
19
20

  ```console
Marc Cornellà's avatar
Marc Cornellà committed
21
22
23
24
25
26
27
  $ 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
  ```
28
29

See a demo: http://screencast.com/t/ZDgwNDUwNT