mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 07:58:08 +00:00
Update cheatsheets
This commit is contained in:
33
vhs
Normal file
33
vhs
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# vhs
|
||||
|
||||
> Generate terminal gifs from a tape file.
|
||||
> More information: <https://github.com/charmbracelet/vhs>.
|
||||
|
||||
- Create a tape file (add commands to the tape file using an 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 the syntax of a tape file:
|
||||
|
||||
`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}}`
|
||||
Reference in New Issue
Block a user