Can i pass file name as arg to script? #55
Answered
by
umbopepato
borsemayur2
asked this question in
Q&A
-
allow:
- net
scripts:
demo: deno run [PASSED_ARG] # vr demo app.ts how can I achieve this? |
Beta Was this translation helpful? Give feedback.
Answered by
umbopepato
Apr 12, 2021
Replies: 1 comment 1 reply
-
Hi @borsemayur2!
allow:
- net
scripts:
demo: deno run and run $ vr demo app.ts The resulting command will be: $ deno run app.ts |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
borsemayur2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @borsemayur2!
vr run
arguments are forwarded to your scripts, so you can simply write:and run
The resulting command will be: