A tool to verify the presence of environment variables before running a process (github.com) 2 points by arvindell 4y ago ↗ HN
[–] theamk 4y ago ↗ I don't think separate tool is a good idea for this.. that's what assertions in your main/config file are for. All you need is just 1 line: assert os.getenv('DATABASE_URL'), "You forgot to set DATABASE_URL" and as a bonus other developers get this check too, even if they have no idea about this tool.
1 comment
[ 0.16 ms ] story [ 17.6 ms ] thread