|
| 1 | +Output docs/static/demo.gif |
| 2 | + |
| 3 | +# NOTE: it should be run at the root of the repository. |
| 4 | +# vhs docs/golangci-lint.tape |
| 5 | + |
| 6 | +Require golangci-lint |
| 7 | + |
| 8 | +Set Shell zsh |
| 9 | + |
| 10 | +Set Theme Dracula |
| 11 | +Set FontSize 25 |
| 12 | +Set Width 2000 |
| 13 | +Set Height 900 |
| 14 | + |
| 15 | +Set WindowBar Colorful |
| 16 | +Set WindowBarSize 50 |
| 17 | + |
| 18 | +Set Padding 20 |
| 19 | + |
| 20 | +Set MarginFill "#17afc2" |
| 21 | +Set Margin 20 |
| 22 | + |
| 23 | +Set BorderRadius 30 |
| 24 | + |
| 25 | +Type "golangci-lint run" Sleep 500ms Enter |
| 26 | +Sleep 2s |
| 27 | +Sleep 1s |
| 28 | + |
| 29 | + |
| 30 | +# VHS documentation |
| 31 | +# https://github.com/charmbracelet/vhs |
| 32 | +# |
| 33 | +# Output: |
| 34 | +# Output <path>.gif Create a GIF output at the given <path> |
| 35 | +# Output <path>.mp4 Create an MP4 output at the given <path> |
| 36 | +# Output <path>.webm Create a WebM output at the given <path> |
| 37 | +# |
| 38 | +# Require: |
| 39 | +# Require <string> Ensure a program is on the $PATH to proceed |
| 40 | +# |
| 41 | +# Settings: |
| 42 | +# Set FontSize <number> Set the font size of the terminal |
| 43 | +# Set FontFamily <string> Set the font family of the terminal |
| 44 | +# Set Height <number> Set the height of the terminal |
| 45 | +# Set Width <number> Set the width of the terminal |
| 46 | +# Set LetterSpacing <float> Set the font letter spacing (tracking) |
| 47 | +# Set LineHeight <float> Set the font line height |
| 48 | +# Set LoopOffset <float>% Set the starting frame offset for the GIF loop |
| 49 | +# Set Theme <json|string> Set the theme of the terminal |
| 50 | +# Set Padding <number> Set the padding of the terminal |
| 51 | +# Set Framerate <number> Set the framerate of the recording |
| 52 | +# Set PlaybackSpeed <float> Set the playback speed of the recording |
| 53 | +# Set MarginFill <file|#000000> Set the file or color the margin will be filled with. |
| 54 | +# Set Margin <number> Set the size of the margin. Has no effect if MarginFill isn't set. |
| 55 | +# Set BorderRadius <number> Set terminal border radius, in pixels. |
| 56 | +# Set WindowBar <string> Set window bar type. (one of: Rings, RingsRight, Colorful, ColorfulRight) |
| 57 | +# Set WindowBarSize <number> Set window bar size, in pixels. Default is 40. |
| 58 | +# Set TypingSpeed <time> Set the typing speed of the terminal. Default is 50ms. |
| 59 | +# |
| 60 | +# Sleep: |
| 61 | +# Sleep <time> Sleep for a set amount of <time> in seconds |
| 62 | +# |
| 63 | +# Type: |
| 64 | +# Type[@<time>] "<characters>" Type <characters> into the terminal with a |
| 65 | +# <time> delay between each character |
| 66 | +# |
| 67 | +# Keys: |
| 68 | +# Escape[@<time>] [number] Press the Escape key |
| 69 | +# Backspace[@<time>] [number] Press the Backspace key |
| 70 | +# Delete[@<time>] [number] Press the Delete key |
| 71 | +# Insert[@<time>] [number] Press the Insert key |
| 72 | +# Down[@<time>] [number] Press the Down key |
| 73 | +# Enter[@<time>] [number] Press the Enter key |
| 74 | +# Space[@<time>] [number] Press the Space key |
| 75 | +# Tab[@<time>] [number] Press the Tab key |
| 76 | +# Left[@<time>] [number] Press the Left Arrow key |
| 77 | +# Right[@<time>] [number] Press the Right Arrow key |
| 78 | +# Up[@<time>] [number] Press the Up Arrow key |
| 79 | +# Down[@<time>] [number] Press the Down Arrow key |
| 80 | +# PageUp[@<time>] [number] Press the Page Up key |
| 81 | +# PageDown[@<time>] [number] Press the Page Down key |
| 82 | +# Ctrl+<key> Press the Control key + <key> (e.g. Ctrl+C) |
| 83 | +# |
| 84 | +# Display: |
| 85 | +# Hide Hide the subsequent commands from the output |
| 86 | +# Show Show the subsequent commands in the output |
0 commit comments