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")
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.
yes | "${cli_path}" apply "${args[@]}"
exit $?
"${cli_path}" apply --auto-approve "${args[@]}"
}
main