Skip to main content

A simple GCP project switcher

Project description

Simple GCP Project Project Switcher

Have you ever struggled to switch between GCP projects locally ? Here is a simple CLI to switch between GCP projects easily.

Requirements

GCLOUD SDK has to be installed on your machine and you have to be logged in

Usage

If you want to list all projects before choosing one

pswitch

If you want to search for a specific term in the project name or project id

pswitch searchTerm

You will see the following output to choose your project rom:

$ pswitch 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 prefer ordering by name than ordering by id

pswitch --name

If you want to automatically switch to the first found project

pswitch searchTerm -a

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_gcp_project_switcher-0.1.10.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file simple_gcp_project_switcher-0.1.10.tar.gz.

File metadata

  • Download URL: simple_gcp_project_switcher-0.1.10.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.16 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for simple_gcp_project_switcher-0.1.10.tar.gz
Algorithm Hash digest
SHA256 f45ef908f75db1cccc97b1279ebd3b778be0018263e1abd6da75199f9bcd0ca2
MD5 1199b97f04815ad0bb4ecc27b78759f3
BLAKE2b-256 ccc55a14bf876dbff20e00a30502a77e7be07d54957f96e719805315544be63c

See more details on using hashes here.

File details

Details for the file simple_gcp_project_switcher-0.1.10-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_gcp_project_switcher-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 0b2bf714644d096216065947ca44883803526fdb46520f37318b44c0ce64e7a1
MD5 19a525fa157c2bc2a4ed4e53772c7636
BLAKE2b-256 4ba5940538f6e2f45f3a7b40dcfe053d5d54cff8b36240a0b526dd807e9cf6e0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page