Skip to content

Commit

Permalink
demos: add demos/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyagr committed Sep 10, 2023
1 parent c3b5590 commit 3c4e197
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions demos/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
The `demo_*.sh` scripts in this directory demo
various features of `jj`.

The `run_scripts.sh` script can be used to:

- Run them inside a standardized environment instead of the user's local environment.
- Generate SVG and PNG images for the scripts.

This requires ImageMagick and `term-transcript-cli` to be
installed. See `run_scripts.sh`'s error messages for some
more details.

One way to make all the images and check the output is:

```shell
$ cd demos
$ ./run_scripts.sh demo_*.sh |less
```

0 comments on commit 3c4e197

Please sign in to comment.