Complete the code to run a Deno script with permission to read files.
deno run [1] script.tsThe --allow-read flag grants permission to read files, which Deno blocks by default for security.
Complete the code to allow a Deno script to access environment variables.
deno run [1] script.tsThe --allow-env flag lets the script access environment variables, which is blocked by default.
Fix the error in the command to allow network access in Deno.
deno run [1] script.tsThe correct flag for network access is --allow-net. Other options are invalid and cause errors.
Fill both blanks to run a Deno script with permissions to read files and run subprocesses.
deno run [1] [2] script.ts
--allow-read grants file read access, and --allow-run allows running subprocesses. Both are needed here.
Fill all three blanks to run a Deno script with permissions to read files, access environment variables, and use the network.
deno run [1] [2] [3] script.ts
The flags --allow-read, --allow-env, and --allow-net grant permissions for file reading, environment access, and network use respectively.
