fix(cli): make use of new cli argument

This commit is contained in:
Richard Robert Reitz 2025-10-02 14:58:35 +02:00
parent ce7251697b
commit 2c275da020

View file

@ -25,12 +25,10 @@ main() {
args+=("--dry-run") args+=("--dry-run")
fi fi
echo Executing: "${cli_path}" apply "${args[@]}" echo Executing: "${cli_path}" apply --auto-approve "${args[@]}"
# The CLI uses an interactive prompt, so we need to pipe "yes" to it. # The CLI uses an interactive prompt, so we need to pipe "yes" to it.
yes | "${cli_path}" apply "${args[@]}" "${cli_path}" apply --auto-approve "${args[@]}"
exit $?
} }
main main