Skip to content

Can i pass file name as arg to script? #55

Answered by umbopepato
borsemayur2 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @borsemayur2!

vr run arguments are forwarded to your scripts, so you can simply write:

allow:
  - net
scripts:
  demo: deno run

and run

$ vr demo app.ts

The resulting command will be:

$ deno run app.ts

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@borsemayur2
Comment options

Answer selected by borsemayur2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants