Build with AI Workshop 通用環境設定 CLI 工具
Project description
bwai-workshop-tools
A universal CLI tool for Google Cloud workshop environment setup. Define steps in a JSON file and run them all at once.
Available in: 繁體中文 | 日本語 | 한국어
Installation
From PyPI:
pip install bwai-workshop-tools
From Source (for developers):
git clone https://github.com/simonliu-ai-product/buildwithai-workshop-autosetup-tool.git
cd buildwithai-workshop-autosetup-tool
pip install -e .
Commands
bwai-workshop setup — Run setup steps
# Run all steps (interactive confirmation for each)
bwai-workshop setup --step path/to/config.json
# Run specific steps only (comma-separated IDs)
bwai-workshop setup --step path/to/config.json --only auth,enable-apis
# Preview steps without executing
bwai-workshop setup --step path/to/config.json --dry-run
bwai-workshop verify — Verify setup completion
# Verify all steps
bwai-workshop verify --step path/to/config.json
# Verify specific steps only
bwai-workshop verify --step path/to/config.json --only auth,check-billing-credit
bwai-workshop language — Manage display language
# List supported languages
bwai-workshop language list
# Set language
bwai-workshop language set en # English
bwai-workshop language set zh-tw # Traditional Chinese
bwai-workshop language set ja # Japanese
bwai-workshop language set ko # Korean
# Show current language
bwai-workshop language show
bwai-workshop steps list — List step types
bwai-workshop steps list
Supported Step Types
| type | Description |
|---|---|
gemini_cli_vertex_auth |
Configure Gemini CLI with Vertex AI authentication (ADC) |
gcloud_auth |
Google Cloud login and project setup |
gcloud_enable_apis |
Enable specified Google Cloud APIs |
gcp_billing_credit |
Check if GCP project has Workshop promotional credit |
python_venv |
Create Python virtual environment and install dependencies |
shell |
Execute custom shell command |
Step File Format
{
"name": "My Setup Flow",
"description": "Description text",
"steps": [
{
"id": "my-step",
"type": "shell",
"description": "Run a custom command",
"params": {
"command": "echo hello"
}
}
]
}
Examples
See the examples/ folder for complete examples:
adk-gemini-agent.json— Full setup flow for ADK Gemini Agent Workshop
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
bwai_workshop_tools-0.1.3.tar.gz
(22.9 kB
view details)
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 bwai_workshop_tools-0.1.3.tar.gz.
File metadata
- Download URL: bwai_workshop_tools-0.1.3.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1975837eebc7fbf3aa2e819b2a348aa910cf4e24087aeb1d0e819f07223d7fa3
|
|
| MD5 |
9a51160de02d5ea770efe95677c4bc1f
|
|
| BLAKE2b-256 |
7f3e0dcddac1b918b879bf9c1a6b9d2920d4dfc23d1d8a46a69cb96b0fbb8640
|
File details
Details for the file bwai_workshop_tools-0.1.3-py3-none-any.whl.
File metadata
- Download URL: bwai_workshop_tools-0.1.3-py3-none-any.whl
- Upload date:
- Size: 29.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9880e6d6c5f10ef77acbcefe176c6dcf06614078038e159e4720bf85cf3b2e1
|
|
| MD5 |
308460a89d5875d7ef623702ca05c107
|
|
| BLAKE2b-256 |
3de2445e445cfb8db52870325a67032b60523171fc4e404988200b077a101958
|