Skip to main content

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

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.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bwai_workshop_tools-0.1.0-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file bwai_workshop_tools-0.1.0.tar.gz.

File metadata

  • Download URL: bwai_workshop_tools-0.1.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for bwai_workshop_tools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9460b5c97bf4eefd70e1094d8fa725e03935f16685908829cea6339fa209637f
MD5 97e07913e4827356cf0c08d93fb2d6de
BLAKE2b-256 d25c6fed5966f34dd9a2d3a1018431b2373e21974d42c4fdc8429aa79a48f1a5

See more details on using hashes here.

File details

Details for the file bwai_workshop_tools-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bwai_workshop_tools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c024d68603808a1d97b72fdd44d657faa546460f81a8996b854a09d34236a87
MD5 d2fe46acf020fcd07a5106e6cfb7e156
BLAKE2b-256 91f5e191e4a1d48a3a567685b24e971ced7051aae651c5957a0a31552affdbbb

See more details on using hashes here.

Supported by

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