您的 CLI 家庭视频录像机
{\fn方正粗倩简体\fs12\an8\1cHFFFF00\b0}音乐
语句
< br> (英语) <a href='https://github.com/charmbracelet/vhs/releases">(英语:ZZURL0 ZHZ) 维基语录链接:名人名言 - 文学作品 - 谚语 - 谚语 <a href=' https://pkg.go.dev/github.com/charmbracelet/vhs?tab=doc"> <a href='https://github.com/charmbracelet/vhs/actions">
(中文(简体) ).写入终端GIFs作为集成测试代码并降级您的 CLI 工具.
上述例子与VHS([view source] (./examples/neofetch/neofetch.tape))产生.
□ 训导
要启动, 请输入 VHS (# 安装) , 并创建一个新的 `. tape' 文件 。
(原始内容存档于2019-09-29) (英语). ```sh vhs new demo.tape
用你最喜欢的 " $EDITOR " 打开 ".tape " 文件。
ZZ1ZZ
磁带文件由一系列的 [commands] (#vhs-command-reference) 组成. 命令是
指示 VHS 在其虚拟终端上执行。 全部名单
可能的命令参见[命令参考 (#vhs-command- reference).
(原始内容存档于2019-09-29). ```elixir
# Where should we write the GIF?
Output demo.gif
# Set up a 1200x600 terminal with 46px font.
Set FontSize 46
Set Width 1200
Set Height 600
# Type a command in the terminal.
Type "echo 'Welcome to VHS!'"
# Pause for dramatic effect...
Sleep 500ms
# Run the command by pressing enter.
Enter
# Admire the output for a bit.
Sleep 5s完成后,保存文件并将其输入到 VHS 中。
v0.12.0 在 ubuntu-24.04 运行机上退出 0 并不写入任何输出文件; v0.11.0 记录了相同的磁带
Asciicast 输出
支持原生 SVG 输出和窗口栏自定义
VHS在我做测试时会冻结 磁带
添加 WebP 输出支持
"发布"是输出中的缺失环节
将选择/高亮显示添加到显示的文本中
在 README 中需要注意 Google 浏览器的自动下载和执行。
允许通过行数(高度)和字符数(宽度)进行大小控制
文字看起来真的很模糊