2 ms·
not sure what you mean by that. would you mind giving an example shebang line that does this?
by tpoacher 5y ago
not sure what you mean by that. would you mind giving an example shebang line that does this?
- chaorace 5y agoHere you go! One example Deno script with permissions embedded in the shebang line: #!/usr/bin/env -S /usr/bin/deno run --allow-net=api.github.com const jsonResponse = await fetch("https://api.github.com/users/denoland"); const jsonData = await jsonResponse.json(); console.log(jsonData);
- tpoacher 5y agoAh, I thought you were referring to filesystem permissions, which confused me! This makes sense. Thanks!