mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 07:35:44 +02:00
vhs: add page (#9990)
* vhs: add page --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
0317ac7fdd
commit
bc32d3ae72
1 changed files with 28 additions and 0 deletions
28
pages/common/vhs.md
Normal file
28
pages/common/vhs.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# vhs
|
||||
|
||||
> CLI home video recorder to generate terminal gifs from code.
|
||||
> More information: <https://github.com/charmbracelet/vhs>.
|
||||
|
||||
- Create a tape file (Add commands to the tap file using your editor):
|
||||
|
||||
`vhs new {{path/to/file.tape}}`
|
||||
|
||||
- Record inputs to a tape file (Once done, exit the shell to create the tape):
|
||||
|
||||
`vhs record > {{path/to/file.tape}}`
|
||||
|
||||
- Record inputs to a tape file using a specific shell:
|
||||
|
||||
`vhs record --shell {{shell}} > {{path/to/file.tape}}`
|
||||
|
||||
- Validate a type file's syntax:
|
||||
|
||||
`vhs validate {{path/to/file.tape}}`
|
||||
|
||||
- Create a gif from a tape file:
|
||||
|
||||
`vhs < {{path/to/file.tape}}`
|
||||
|
||||
- Publish a gif to https://vhs.charm.sh and get a shareable URL:
|
||||
|
||||
`vhs publish {{path/to/file.gif}}`
|
Loading…
Add table
Reference in a new issue