diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-10 19:39:56 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-10 19:39:56 -0400 |
| commit | b471f6a1684320a90f65ef5aac7c0f87c69fb79b (patch) | |
| tree | ef421348260efadeb9f04b56b7e3bfb42c2b28b8 /scripts/lib/env.sh | |
| parent | Remove need for docker compose (diff) | |
| download | cli-b471f6a1684320a90f65ef5aac7c0f87c69fb79b.zip | |
Remove the need for .env files
Diffstat (limited to 'scripts/lib/env.sh')
| -rw-r--r-- | scripts/lib/env.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/scripts/lib/env.sh b/scripts/lib/env.sh deleted file mode 100644 index e598584..0000000 --- a/scripts/lib/env.sh +++ /dev/null @@ -1,20 +0,0 @@ -# shellcheck shell=bash -[[ -n "${BOLT_ENV_LOADED:-}" ]] && return -readonly BOLT_ENV_LOADED=1 - -source "$(dirname "${BASH_SOURCE[0]}")/log.sh" - -load_env_file() { - local -r env_file="$1" - if [[ ! -f "$env_file" ]]; then - log_error "Environment file not found: $env_file" - return 1 - fi - - set -a - # shellcheck disable=SC1090 - source "$env_file" - set +a - - log_info "Loaded environment from $env_file" -} |