gcloud shortcuts

From their README

g: GCP shortcuts for Alfred

Download

An exported workflow should be available under releases make sure you meet the requirements.

Usage

Commands:

  • g for search
  • g-refresh for updating list of projects

Refresh projects list

Initially run g-refresh in Alfred to update the list of authenticated projects.

Open product page

g ↩️️ BigQuery ➡️ Opens BigQuery for the selected project.

g My Project ↩️ Kube ➡️ Opens Kubernetes Engine in GCP for project My Project.

Configuration

hotkey

Changing the variable hotkey from g to gcp results in commands like gcp and gcp-refresh.

authuser

Specify the authuser query parameter in case you are logged into multiple Google accounts and you want to open links logged into a specific user.

Requirements

If you initialized gcloud recently, make sure to save the authentication locally, see below.