Sitelet https://github.com/SamWheating/gwhere
Skip to content

Latest commit

 

History

18 Commits

Folders and files

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

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages