Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jarlefosen/alfred-gcloud-shortcuts

Shortcuts for opening Google Cloud Platform products in the browser
https://github.com/jarlefosen/alfred-gcloud-shortcuts

alfred-workflow gcp

Last synced: 2 months ago
JSON representation

Shortcuts for opening Google Cloud Platform products in the browser

Awesome Lists containing this project

README

        

# g: GCP shortcuts for Alfred

## Download

An exported workflow should be available under [releases](https://github.com/jarlefosen/alfred-gcloud-shortcuts/releases) make sure you meet the [requirements](#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.
```

- installed and authenticated `gcloud` https://cloud.google.com/sdk/
- coreutils `brew install coreutils`
- save [auth locally](https://github.com/jarlefosen/alfred-gcloud-shortcuts/issues/5#issuecomment-537852834): `gcloud auth application-default login`