gcloud app deploy,flag自动提示?

时间:2016-08-10 00:47:07

标签: gcloud

使用gcloud app deploy

时是否可以进行静默部署

当我运行命令gcloud app deploy ./deployment/app.yaml --version v1时,它总是提示

Do you want to continue (Y/n)? Y

如何自动化? 有没有我们可以通过的标志来静音?

1 个答案:

答案 0 :(得分:63)

您正在寻找--quiet标志,可在所有gcloud命令中使用:

$ gcloud --help
     --quiet, -q
    Disable all interactive prompts when running gcloud commands. If input
    is required, defaults will be used, or an error will be raised.
相关问题