Document playback from stdin

This commit is contained in:
Marcin Kulik
2015-06-23 20:20:22 +02:00
parent a7086bceec
commit c16c27817c
2 changed files with 8 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
# asciinema changelog # asciinema changelog
## master
* Added ability to replay asciicast from stdin by passing "-" as filename
## 1.1.1 (2015-06-21) ## 1.1.1 (2015-06-21)
* Fixed putting terminal in raw mode (fixes ctrl-o in nano) * Fixed putting terminal in raw mode (fixes ctrl-o in nano)

View File

@@ -96,6 +96,10 @@ __Replay recorded asciicast in a terminal.__
This command replays given asciicast (as recorded by `rec` command) directly in This command replays given asciicast (as recorded by `rec` command) directly in
your terminal. your terminal.
When "-" is passed as a filename the asciicast is read from stdin. For example:
curl -sL https://asciinema.org/a/21310.json | asciinema play -
NOTE: it is recommended to run it in a terminal of dimensions not smaller than NOTE: it is recommended to run it in a terminal of dimensions not smaller than
the one used for recording as there's no "transcoding" of control sequences for the one used for recording as there's no "transcoding" of control sequences for
new terminal size. new terminal size.