How to add shebang to deno script
If you need to add shebang to deno script add this line on the top of the script:
#!/usr/bin/env -S deno run --allow-read --allow-write
Now if you need to exectue script type: ./script.ts
and you
are done 🎉.
If you need to add shebang to deno script add this line on the top of the script:
#!/usr/bin/env -S deno run --allow-read --allow-write
Now if you need to exectue script type: ./script.ts
and you
are done 🎉.