Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jarlefosen/alfred-gcloud-shortcuts
- Owner: jarlefosen
- Created: 2018-06-26T13:17:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T08:40:21.000Z (8 months ago)
- Last Synced: 2024-08-01T15:41:26.316Z (6 months ago)
- Topics: alfred-workflow, gcp
- Language: Go
- Homepage:
- Size: 12.7 MB
- Stars: 51
- Watchers: 3
- Forks: 21
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- alfred-workflows - GCP shortcuts - Shortcuts for opening Google Cloud Platform products in the browser. (Developer)
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`