Google Cloud CLI Account & Project Selector
Project description
gcloud-account-changer
Google Cloud CLI Account & Project Selector - A terminal-based interactive tool for managing multiple Google Cloud accounts and projects.
Features
- 🔄 Easy switching between multiple Google Cloud accounts
- 📋 Interactive project selection for each account
- 🎨 Terminal-based user interface using urwid
- ⚡ Quick account and project configuration
- 💾 Remember your preferred settings
Installation
Using pipx (Recommended)
pipx install gcloud-account-changer
Using uv
uv tool install gcloud-account-changer
Using pip
pip install gcloud-account-changer
Prerequisites
- Google Cloud CLI (
gcloud) must be installed and configured - Python 3.7 or higher
- At least one Google Cloud account authenticated with
gcloud auth login
Usage
After installation, run the tool using:
gcloud-account-changer
The interactive interface will guide you through:
- Account Selection: Choose from your authenticated Google Cloud accounts
- Project Selection: Select a project from the chosen account
- Configuration: Apply the selected account and project to your gcloud CLI
Keyboard Navigation
- Arrow Keys: Navigate through options
- Enter: Select an option
- Esc/Q: Quit the application
Getting Started
-
First, authenticate your Google Cloud accounts:
gcloud auth login
-
Install gcloud-account-changer:
pipx install gcloud-account-changer
-
Run the tool:
gcloud-account-changer
-
Select your desired account and project from the interactive interface
Requirements
urwid- Terminal user interface librarygcloudCLI tool (must be installed separately)
Development
To contribute to this project:
-
Clone the repository:
git clone https://github.com/search5/gcloud-account-changer.git cd gcloud-account-changer
-
Install in development mode:
uv sync
License
This project is licensed under the BSD License.
Author
Lee Ji-Ho - search5@gmail.com
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Issues
If you encounter any problems or have feature requests, please create an issue on the GitHub repository.
Changelog
v0.1
- Initial release
- Basic account and project switching functionality
- Terminal-based user interface
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gcloud_account_changer-0.1.tar.gz.
File metadata
- Download URL: gcloud_account_changer-0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
145d32d4e806da8449aaaeac56f06e494b2f424231be42f66369a06270082774
|
|
| MD5 |
3afd4a69af556287c6c0b7e974f8fd9c
|
|
| BLAKE2b-256 |
be635a7e52d8b12df4b2242eb1b1b5b82a0007423839d47909eae2e0b968cdf2
|
File details
Details for the file gcloud_account_changer-0.1-py3-none-any.whl.
File metadata
- Download URL: gcloud_account_changer-0.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5201625ef5d675fa9e7ebdc0a76faa1c955b7b506e192b8af5dbba145bd13a9b
|
|
| MD5 |
8bad0a028494b2fb40410fb2a251ed2b
|
|
| BLAKE2b-256 |
bcea66275287d1010eab9eea64754f41b785a68e7fe40a9a7c68aa5cea9daec5
|