Categorygithub.com/SamWheating/gwhere
repositorypackage
0.0.6
Repository: https://github.com/samwheating/gwhere.git
Documentation: pkg.go.dev

# README

gwhere

As in, "Gee, where is that bucket anyways?"

Also as in, "Google, where did I put that bucket?"

Mini Cli tool to remind you which GCP project a storage bucket is in.

Installation

With Homebrew:

brew tap samwheating/samwheating
brew install gwhere

Usage

gwhere <bucket>

You'll need stat access to the bucket and access to its containg project.

Why does this exist?

Previously it took me two gsutil / gcloud commands to get the project ID of one of my buckets. I had to do this on at least two separate occasions this year so it was becoming a significant time sink.

Couldn't this just be done with Bash / gcloud / jq / etc?

Probably, yeah.