3 ms·
One pattern that we use at our company is that we have multiple env files, and we launch programs using `run_with_config <config-file> <command>`. The script lo
by Parrot_NTheKing 4y ago
One pattern that we use at our company is that we have multiple env files, and we launch programs using `run_with_config <config-file> <command>`. The script loads environment variables from config-file and then launches command.
- zach_garwood 4y agoI like to do something similar with my personal projects: `set -o allexport && source /ect/environment && set +o allexport; command`