deno / 1.23.2 / ~ / deno.args.html /

Deno.args

Returns the script arguments to the program. If for example we run a program:

deno run --allow-read https://deno.land/std/examples/cat.ts /etc/passwd

Then Deno.args will contain:

[ "/etc/passwd" ]

const args : string[];

© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/Deno.args