【问题标题】:Output of gcloud list commands not displaying in table formgcloud list 命令的输出未以表格形式显示
【发布时间】:2022-01-12 07:16:05
【问题描述】:

我在 Google Cloud Shell 中使用 gcloud 命令。我正在关注的教程以及文档 (https://cloud.google.com/sdk/gcloud/reference/compute/zones/list) 说,要以表格形式列出所有区域,您应该使用以下命令:

gcloud compute zones list

当我运行它时,结果不是在表格中列出,而是像这样:

NAME: us-west2-b
REGION: us-west2
STATUS: UP
NEXT_MAINTENANCE:
TURNDOWN_DATE:

NAME: us-west2-c
REGION: us-west2
STATUS: UP
NEXT_MAINTENANCE:
TURNDOWN_DATE:

NAME: us-west3-a
REGION: us-west3
STATUS: UP
NEXT_MAINTENANCE:
TURNDOWN_DATE:

这是一个全新的原始 Google Cloud 帐户。 Google 是否更改了 list 命令的默认输出格式?

【问题讨论】:

    标签: google-cloud-platform gcloud


    【解决方案1】:

    我发现如果我将accessibility/screen_reader 设置为false 则输出以表格形式列出:

    gcloud config set accessibility/screen_reader false
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-12-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-10-24
      • 2018-07-03
      • 2021-09-03
      相关资源
      最近更新 更多