fix(cli): make use of new cli argument
This commit is contained in:
parent
ce7251697b
commit
2c275da020
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue