mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
fix: Add --env-vars, deprecate --envs (#410)
This commit is contained in:
parent
b12f0c662c
commit
2b35cad50f
15 changed files with 24 additions and 22 deletions
|
|
@ -10,7 +10,7 @@ readonly SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
|
|||
function main {
|
||||
common::initialize "$SCRIPT_DIR"
|
||||
common::parse_cmdline "$@"
|
||||
common::export_provided_env_vars "${ENVS[@]}"
|
||||
common::export_provided_env_vars "${ENV_VARS[@]}"
|
||||
common::parse_and_export_env_vars
|
||||
# JFYI: suppress color for `tfupdate` is N/A`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue