This repository has been archived on 2024-05-03. You can view files and clone it, but cannot push or open issues or pull requests.
treefmt/docs/vhs/treefmt.tape
Brian McGee ea6fe2d5cb
doc: improve treefmt.gif
Add some whitespace to each file in the examples folder before applying to demonstrate formatting occurring.

Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-05-03 20:04:13 +01:00

38 lines
528 B
VHS

Require rsync
Require treefmt
Set Shell zsh
Set FontSize 11
Set Theme "Catppuccin Mocha"
Set Width 320
Set Height 220
Set Padding 20
Hide
Type "TEMP_DIR=$(mktemp -d) && rsync -av $PRJ_ROOT/test/examples/ $TEMP_DIR && pushd $TEMP_DIR && clear"
Enter
Type "find . -type f -exec sh -c 'echo " " >> {}' \;"
Enter
Type "alias treefmt='treefmt --allow-missing-formatter' && clear"
Enter
Show
Type "treefmt"
Sleep 1s
Enter
Sleep 3s
Enter
Enter
Sleep 1s
Type "treefmt"
Enter
Sleep 5s
Hide
Type "popd && rm -rf $TEMP_DIR"
Enter