Replies: 3 comments 1 reply
-
This is a great point, The reason why it is nice to have the output specified in the tape file also is for actions that regenerate all tape files in a repo. i.e.
However, I totally agree this should be overridable through a CLI flag:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Btw, this should be available shortly 🙂 vhs demo.tape -o demo.gif -o demo.webm |
Beta Was this translation helpful? Give feedback.
0 replies
-
FYI
|
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
-
For me specifying output location in the file is a little “off”. But I get that if you didn't have this people would ask for it.
However I do feel we should be able to omit it (maybe that already works), and more importantly, specify this on the command line (where it would act as an override).
The reason I bring this up is I tried to execute
vhs
for https://github.com/charmbracelet/vhs/blob/main/examples/demo.tape and it fails because theOutput
was specified in the file and is set toexamples/demo.gif
and the examples directory did not exist for me (I downloaded the.tape
file).Now, should
vhs
create the examples directory? Perhaps. My main point though is I was surprised that a command line tool would have the output hardcoded in its input file and surprised that the default behavior resulted in no output (because it failed to write).I was expecting
vhs foo.tape
to output./foo.gif
as its default I guess.Anyway, discussion opened.
Beta Was this translation helpful? Give feedback.
All reactions