gwhere

command module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2022 License: MIT Imports: 8 Imported by: 0

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL