-
Notifications
You must be signed in to change notification settings - Fork 384
Description
Is your feature request related to a problem? Please describe.
I've started using VHS to record demos of command-line utilities I've been developing, which has been working pretty well - so first off, thanks for this great utility. I guess the main 'complaint' I have is that I have to repeatedly try a command to see how long it might take in the worst case, so that I know how long to Sleep for, so that VHS captures all the output of the command.
Describe the solution you'd like
I think it would be more intuitive if VHS could just wait for a command to complete - and optionally exit on nonzero return code - before proceeding to the next command. Maybe that can't be directly supported by the existing 'Type' command, since that could be just to type text into a text editor or similar, so perhaps a different keyword would be needed.
Describe alternatives you've considered
I've looked at asciinema, which does operate in this sort of 'blocking' manner I've described, but I really like the ability to essentially 'script' my demos ahead of time and then let VHS take care of the rest, rather than typing live while asciinema records.
Additional context
Hopefully the description above is clear enough, and if this is 'by design', that's fine too..