Last active
July 2, 2018 21:33
-
-
Save shashyajoshi/25459ed32a6e5bff6232476e492a4323 to your computer and use it in GitHub Desktop.
Output of gcloud project list command in CSV format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) | |
$ gcloud projects list --format="csv(projectId, name, labels)" | |
project_id,name,labels | |
sj-test-070418,sj-test-070418,app-name=micro-svc-app;biz-unit=it;env-name=qa;owner=john-smith | |
sj-test-070218,sj-test-070218,app-name=myapp;biz-unit=engineering;env-name=non-prod;owner=shashank | |
sj-test-062218,sj-test-062218,app-name=misc;biz-unit=ecom;env-name=prod;owner=jane-doe | |
secure-moment-207103,My First Project, | |
2) | |
$ gcloud projects list --format="csv(projectId, name, labels.app-name, labels.biz-unit,labels.env-name, labels.owner)" | |
project_id,name,app-name,biz-unit,env-name,owner | |
sj-test-070418,sj-test-070418,micro-svc-app,it,qa,john-smith | |
sj-test-070218,sj-test-070218,myapp,engineering,non-prod,shashank | |
sj-test-062218,sj-test-062218,misc,ecom,prod,jane-doe | |
secure-moment-207103,My First Project,,,, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment