Skip to content

Commit

Permalink
Add cmd/pomodoro for simpler installation
Browse files Browse the repository at this point in the history
Closes #3
  • Loading branch information
justincampbell committed May 22, 2018
1 parent 8e3691b commit b04196e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@
Or, if you have a [Go development environment](https://golang.org/doc/install):

```
go get github.com/open-pomodoro/openpomodoro-cli
go get github.com/open-pomodoro/openpomodoro-cli/cmd/pomodoro
```

Both of these methods will install the `openpomodoro-cli` command. You can then alias the command in your shell. For example, in `~/.profile`:

```sh
alias pomodoro=openpomodoro-cli
```
> If you already have another command named `pomodoro`, use `go get github.com/open-pomodoro/openpomodoro-cli` to install the `openpomodoro-cli` command.
## Usage

Expand Down
7 changes: 7 additions & 0 deletions cmd/pomodoro/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package main

import "github.com/open-pomodoro/openpomodoro-cli/cmd"

func main() {
cmd.Execute()
}

0 comments on commit b04196e

Please sign in to comment.