gcloud应用程序部署,标记以自动提示吗? [英] gcloud app deploy, flag to automate prompting?

查看:44
本文介绍了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应用程序部署,标记以自动提示吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆