I try to display 3 fields about my repos using:
gcloud artifacts repositories list --format 'value(name,format,location)'
but this command doesn't show location, only name and format. How do I get location (eg: europe-west1) for my repos?
- I use gcloud 451.0.0
- I know I can run list command without any arguments and it displays many fields, including these 3, but can gcloud limit the fields to specific 3 (name/format/location) that I need?
I encountered the same issue, but I tried uppercasing "location", and it worked:
gcloud artifacts repositories list --format 'value(name,LOCATION)'
Be careful: It's probably a bug on the gcloud cli, so this may break in the future