Record a demo of $ARGUMENTS using VHS.
Check VHS is installed: Run
which vhs. If not found, tell the user to install it withbrew install vhs.Create a
.tapefile indemos/(create the directory if needed). Use this template:# Demo: <description> Output demos/<name>.gif # Always use .gif format Set Shell "zsh" Set FontSize 16 Set Width 1200 Set Height 600 Set Theme "Catppuccin Mocha" Set TypingSpeed 75ms Set Padding 20 Type "<command>" Sleep 500ms Enter Sleep 3sVHS Tape DSL reference: For the full command reference, see vhs-reference.md.
Tips for good demos:
- Add
Sleepafter commands to let output render and be readable - Use
Hide/Showto run setup commands invisibly - Keep demos short and focused (under 30 seconds)
- Add a
Sleep 3sat the end so viewers can see final output - Always add a
Sleep 500mspause after eachTypeline (beforeEnter) to mimic a human pause - For this project, use
./bin/slackdirectly as the CLI binary path (do NOT export PATH) - When demoing from an app directory, use
Hidetocdinto the app, then use../bin/slackas the binary path - Prefer passing app IDs directly (e.g.
--app A12345) to avoid interactive prompts when the ID is known
- Add
Run the recording: Execute
vhs <filename>.tapeto generate the output file.Review: Open the
demos/directory withopen demos/so the user can review the output.