Skip to content

Commit

Permalink
Update version & README
Browse files Browse the repository at this point in the history
  • Loading branch information
Takumasa Sakao committed Nov 6, 2018
1 parent f961d67 commit 2a47837
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Terminal based Conway's Game of Life. Implemented in Go.
Go to release page and download.

```shell
$ wget https://github.com/sachaos/go-life/releases/download/v0.3.0/go-life_darwin_amd64 -O /usr/local/bin/go-life
$ wget https://github.com/sachaos/go-life/releases/download/v0.4.0/go-life_darwin_amd64 -O /usr/local/bin/go-life
$ chmod +x /usr/local/bin/go-life
```

Expand All @@ -45,6 +45,20 @@ $ go-life
$ go-life --theme Ocean --pattern glider-gun
```

### Load pattern

#### Load from STDIN

```shell
$ curl http://www.conwaylife.com/patterns/glider.rle | go-life --file -
```

#### Load from file

```shell
$ go-life --theme Ocean --file ./glider.lif
```

### Help

```shell
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func main() {
app := cli.NewApp()
app.Name = "go-life"
app.Usage = "Conway's Game of Life"
app.Version = "0.3.0"
app.Version = "0.4.0"

app.Flags = []cli.Flag{
cli.BoolFlag{
Expand Down

0 comments on commit 2a47837

Please sign in to comment.