# 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" }