Variable interpolation #676
dpeckham
started this conversation in
Show and tell
Replies: 1 comment
-
|
I wanted to generate timestamped screenshots using VHS, and rewriting my tape every time was a pain. So I put together an implementation for this behind an optional config. For example: Set EnvExpansion true
Screenshot "screenshots/demo-{{TIMESTAMP}}.png"Then run with I went with {{VAR}} instead of $VAR to avoid ambiguity with My use case is screenshots but you could use this to parameterize typed text as well as other commands. My changes are here, happy to turn this into a PR. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
See https://github.com/pagerguild/vhs?tab=readme-ov-file#type
Would you like me to create a PR?
Dave
Beta Was this translation helpful? Give feedback.
All reactions