Quentin123345 / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

--format option does not work for component list #80

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
On Mac OSX, fish shell, calling

  $ gcloud components list --format json
  The following are the components [...] below.

gives text output, not json. It doesn't seem to work for other formats either.

  $ gcloud info #says

Google Cloud SDK [0.9.33]
Platform: [Mac OS X, x86_64]
Python Version: [2.7.5 (default, Mar  9 2014, 22:15:05)  [GCC 4.2.1 Compatible 
Apple LLVM 5.0 (clang-500.0.68)]]
Site Packages: [Disabled]

Installation Root: [/Users/*/opt/google-cloud-sdk]
Installed Components:
  app-engine-python: [1.9.12]
  app: [2014.09.30]
  gae-java: [1.9.12]
  app-engine-python-extras: [1.9.6]
  gsutil: [4.6]
  gcutil: [1.16.5]
  app-engine-java: [1.9.12]
  bq: [2.0.18]
  dns: [2014.09.02]
  preview: [2014.09.30]
  gcutil-nix: [1.16.5]
  core: [2014.09.30]
  gae-java-nix: [1.9.10]
  gae-python: [2014.05.06]
  app-engine-go-darwin-x86_64: [1.9.12]
  gsutil-nix: [4.6]
  gae-go: [2014.09.30]
  sql: [2014.09.30]
  core-nix: [2014.09.30]
  compute: [2014.09.30]
  gae-go-nix: [2014.09.10]
  gae-python-launcher-mac: [1.9.12]
  bq-nix: [2.0.18]
System PATH: [...]
Cloud SDK on PATH: [True]

Installation Properties: [/Users/*/opt/google-cloud-sdk/properties]
User Config Directory: [/Users/*/.config/gcloud]
User Properties: [/Users/*/.config/gcloud/properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]

Account: [*]
Project: [*]

Current Properties:
  [core]
    project: [*]
    account: [*]
    disable_usage_reporting: [True]
    user_output_enabled: [True]

Logs Directory: [/Users/*/.config/gcloud/logs]
Last Log File: [*]

Original issue reported on code.google.com by jelleher...@gmail.com on 13 Oct 2014 at 9:02

GoogleCodeExporter commented 8 years ago
Thanks for the report.  The --format flag was a relatively recent addition, and 
not all commands support it in full at this point.  We are working on updating 
those commands so you should see support for this in a future release.

Original comment by markp...@google.com on 13 Oct 2014 at 9:07

GoogleCodeExporter commented 8 years ago

Original comment by rdayal@google.com on 10 Nov 2014 at 4:41