automate checking for required variables
1 file changed, 4 insertions(+), 1 deletion(-)
changed files
M .envrc → .envrc
@@ -10,4 +10,7 @@ else echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' use nix fi -dotenv + +dotenv_if_exists +# shellcheck disable=SC2046 +env_vars_required $(grep --only-matching '\$[A-Z_]\+' creds.json | cut -d\$ -f2)