Skip to content

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

License

Notifications You must be signed in to change notification settings

SamWheating/gwhere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages