|
|
|
|
|
by syhol
137 days ago
|
|
Do these scripts need to be productionised? I prefer working in an environment where efficient sharing of knowledge and solutions is encouraged, rather than framed as a burden of responsibility. Given the choice between starting with an almost-working script or starting from scratch, I’ll take the former, it might save a few hours. My colleagues and I don’t do this 100% of the time, but I never regret it and always appreciate it when others do. |
|
The major thing to be concerned about there is leaking things like hard-coded secrets and that's where something like .env files can come in handy and knowing your tools to make use of them. Deno (as the running example) makes using .env files easy enough by adding the `--env` flag to your `deno run` shebang/task-line and then using `Deno.env` like any other environment variable. (Then don't forget to .gitignore your .env files.)