You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.env.-h() { .env.--help "$@"; }
.env.--help() {
echo"Usage:$__dotenv_cmd [-f|--file FILE] COMMAND [ARGS...]$__dotenv_cmd -h|--helpOptions: -f, --file FILE Use a file other than .envRead Commands: get KEY Get raw value of KEY (or fail) parse [KEY...] Get trimmed KEY=VALUE lines for named keys (or all) export [KEY...] Export the named keys (or all) in shell formatWrite Commands: set [+]KEY[=VALUE]... Set or unset values (in-place w/.bak); + sets default puts STRING Append STRING to the end of the file generate KEY [CMD...] Set KEY to the output of CMD unless it already exists; return the new or existing value."
}
__dotenv() {
set -eu
__dotenv_cmd=${0##*/}.env.export() { .env.parse "$@"||return 0;printf'export %q\n'"${REPLY[@]}"; REPLY=(); }
.env "$@"||return$?${REPLY[@]+printf '%s\n'"${REPLY[@]}"}
}