本文介绍了gcloud应用程序部署,标记以自动提示吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用gcloud app deploy

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

When I run the command gcloud app deploy ./deployment/app.yaml --version v1 its always prompting for

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

如何自动执行此操作?我们可以传递任何标志来静音吗?

how to automate this? is there any flag that we can pass in to mute this?

推荐答案

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

You're looking for the --quiet flag, available across all gcloud commands:

$ 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.

这篇关于gcloud应用程序部署,标记以自动提示吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 01:54