34 lines
516 B
VHS
34 lines
516 B
VHS
# VHS script for noprocess demo
|
|
# https://github.com/charmbracelet/vhs
|
|
|
|
Output assets/demo.gif
|
|
|
|
Set Shell "bash"
|
|
Set FontSize 14
|
|
Set Width 1200
|
|
Set Height 720
|
|
Set Theme "Catppuccin Mocha"
|
|
|
|
Type "# noprocess - process lifecycle management for Rust"
|
|
Enter
|
|
Sleep 1s
|
|
|
|
Type "# Let's run the pipeline example"
|
|
Enter
|
|
Sleep 500ms
|
|
|
|
Type "cargo run --bin pipeline"
|
|
Enter
|
|
|
|
Sleep 8s
|
|
|
|
Type ""
|
|
Enter
|
|
Sleep 500ms
|
|
|
|
Type "# Producer sends data, consumer processes it"
|
|
Enter
|
|
Type "# Graceful shutdown drains the queue"
|
|
Enter
|
|
Sleep 2s
|