Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gkfasdfasdf
on June 25, 2024
|
parent
|
context
|
favorite
| on:
Show HN: From dotenv to dotenvx – better config ma...
If in bash, you can use the 'allexport' option and source the .env without having to add 'export' in front of every line:
#!/bin/bash set -o allexport . .env set +o allexport cmd
politelemon
on June 26, 2024
[–]
TIL thanks!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: