mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 08:15:28 +02:00
asciinema: add Chinese translation
This commit is contained in:
parent
1f6e00446d
commit
7493c1db82
1 changed files with 35 additions and 0 deletions
35
pages.zh/common/asciinema.md
Normal file
35
pages.zh/common/asciinema.md
Normal file
|
@ -0,0 +1,35 @@
|
|||
# asciinema
|
||||
|
||||
> 录制和播放终端会话, 也可以把他们分享到 asciinema.org.
|
||||
|
||||
- 将本地安装的`asciinema`与asciinema.org账号关联:
|
||||
|
||||
`asciinema auth`
|
||||
|
||||
- 进行新的录制(完成后,将提示用户上传或在本地保存:
|
||||
|
||||
`asciinema rec`
|
||||
|
||||
- 进行新的录制,保存到本地的文件中:
|
||||
|
||||
`asciinema rec {{path/to/file}}.cast`
|
||||
|
||||
- 从本地文件中播放终端录屏:
|
||||
|
||||
`asciinema play {{path/to/file}}.cast`
|
||||
|
||||
- 在asciinema.org中播放终端录屏:
|
||||
|
||||
`asciinema play https://asciinema.org/a/{{cast_id}}`
|
||||
|
||||
- 进行新的录制, 将闲置时间设置为最多 2.5 秒:
|
||||
|
||||
`asciinema rec -i {{2.5}}`
|
||||
|
||||
- 打印本地保存的录像的完整输出:
|
||||
|
||||
`asciinema cat {{path/to/file}}.cast`
|
||||
|
||||
- 从本地上传一个录屏到asciinema.org:
|
||||
|
||||
`asciinema upload {{path/to/file}}.cast`
|
Loading…
Add table
Reference in a new issue