Tools to help you navigate through GCP
Project description
Google Cloud Platform CLI Utils
Have you ever struggled to switch between GCP projects locally ? Are you constantly struggling with the interface of GCP when you want to switch between services and projects ? Here is a simple CLI to simplify your daily life
Requirements
GCLOUD SDK has to be installed on your machine and you have to be logged in
Usage
Switch between projects
If you want to list all projects before choosing one
pgo s
If you want to search for a specific term in the project name or project id
pgo s searchTerm
You will see the following output to choose your project rom:
$ pgo mycompanyName
[0] : mycompany-380102 (mycompany)
[1] : mycompany-airbyte (mycompany-airbyte)
[2] : mycompany-chatbot (mycompany-chatbot)
[3] : mycompany-etl (mycompany-etl)
[4] : mycompany-ga4-lehoublon-flo (mycompany-ga4-lehoublon-flo)
[5] : mycompany-guillaume-pde (mycompany-guillaume-pde)
[6] : mycompany-n8n (mycompany-n8n)
[7] : mycompany-terraform (mycompany-terraform)
Enter project number to switch to:
If you want to automatically switch to the first found project
pgo searchTerm -a
Opening Google Cloud Interface quickly
If you want to open a service quickly. When you don't specify projects, the current Gcloud set project will be used
pgo bq
Open multiple services at the same time
pgo bq,dataform,iam,build,gcs
Aliased have been created for the services. You can see them in the services.yaml
file of the repo
Open services on a specific project (you will be able to choose the project matching the search result)
pgo bq myCompanyName
Open services on a specific project automatically (Will open the first found project)
pgo bq myCompanyName -a
Create shortcuts of groups of services
- Open your config file located in
~/.gcpq/config.yaml
- Add new groups of services in the file (follow current structure)
pgo myGroupName
Modifying GCPQU
If you need to modify the package, you can test your modifications with poetry run pgo
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gcp_quick_utils-0.2.tar.gz
.
File metadata
- Download URL: gcp_quick_utils-0.2.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.18 Linux/5.15.146.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bb655d694aaaea05fdde54fe1eb5aaa32bcb4f40634bae6442cc692da8c758b |
|
MD5 | 5503172a659e7f12f4b44c3bb379633d |
|
BLAKE2b-256 | 1669486056a283bada094841c2736816ca5bddcfb1f886a279b3de9cf2f35a7e |
File details
Details for the file gcp_quick_utils-0.2-py3-none-any.whl
.
File metadata
- Download URL: gcp_quick_utils-0.2-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.18 Linux/5.15.146.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b67f8aad7735981886251494523390dd26d4d65706cb7d9af3926dfb6710e3c |
|
MD5 | 42dcd660499d212409f2ed43fb260b2d |
|
BLAKE2b-256 | 60fb7ee59267f129c4497e4be944c0a7fa6378b096b76db34f3b6d5cdd0aaf49 |