Skip to content

Commit

Permalink
docs(readme): Add URL examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Aug 12, 2024
1 parent a80055a commit fa272db
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,20 @@ Download and run the [latest release binary](https://github.com/gabe565/cli-of-l
## Usage
Run `cli-of-life` in a terminal to play.

By default, the grid will be empty, but rle/plaintext files can be loaded with `cli-of-life --file FILE.rle`
By default, the grid will be empty, but rle/plaintext files can be loaded with `cli-of-life --file FILE.rle` or `cli-of-life --url https://...`

See [usage docs](docs/cli-of-life.md) for cli flag documentation.
For full command-line reference, see [docs](docs/cli-of-life.md).

### Examples

```shell
$ cli-of-life --url https://conwaylife.com/patterns/gosperglidergun.rle
$ cli-of-life --url https://conwaylife.com/patterns/3blocktwinbeesshuttle.rle
$ cli-of-life --url https://conwaylife.com/patterns/breeder1.rle
$ cli-of-life --url https://conwaylife.com/patterns/replicator.rle
```

See the [LifeWiki for pattern files](https://conwaylife.com/wiki/Category:Patterns).

### Keybinds

Expand Down

0 comments on commit fa272db

Please sign in to comment.