Skip to content

Instantly share code, notes, and snippets.

@selfawaresoup
Created September 1, 2022 16:47
Show Gist options
  • Save selfawaresoup/793ee7afc16022885bb9e67add6fd46d to your computer and use it in GitHub Desktop.
Save selfawaresoup/793ee7afc16022885bb9e67add6fd46d to your computer and use it in GitHub Desktop.
Basic dotenv-cli in pure bash
WHATEVER="SOMETHING"
#!/usr/bin/env bash
set -a; source .env; set +a; $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment