gws status
Display the status of worktrees and cluster.
Usage
gws status [options]
Output:
ℹ ────────────────────────────────────────────────────────────────────────────────
ℹ 🌍 Project: myapp
ℹ ────────────────────────────────────────────────────────────────────────────────
ℹ Worktree: default
ℹ Status: ✅ running
ℹ Namespace: myapp
ℹ Path: /path/to/myapp
ℹ Branch: main
ℹ 🔧 Services
ℹ ✅ api-5954f5fb9d-fpvbj: Running
ℹ ✅ app-6bccf88cfd-7vx88: Running
ℹ 📁 File Syncs
ℹ ✅ myapp-default-api: watching
ℹ Local: /path/to/myapp/api
ℹ Remote: /app
ℹ ✅ myapp-default-app: watching
ℹ Local: /path/to/myapp/app
ℹ Remote: /app
ℹ 👁️ Watch Sessions
ℹ No active watch sessions
ℹ 🔌 Expose Sessions
ℹ ✅ mysql: localhost:3306 → myapp:3306
ℹ Status: running
ℹ 🌐 HTTPRoutes:
ℹ • https://api.myapp.local.getwebstack.dev:9443/
ℹ • https://app.myapp.local.getwebstack.dev:9443/
ℹ ⏰ Timestamps:
ℹ Created: 4/1/2026, 11:21:27 AM
ℹ
ℹ Last started: 4/1/2026, 11:21:27 AM
Note: This command can be run from anywhere using the
-p [project]option.
Options
| Option | Description | Default |
|---|---|---|
-w, --worktree <name> | Specific worktree to check | Main project deployment |
-p, --project <name> | Project name | Auto-detected from current directory |
--all | Display status for all projects and all worktrees | false |
--json | Output as JSON | false |
Examples:
# Check specific worktree
gws status -w feature-auth
# JSON output
gws status --json
Status Information
The status command provides:
- Worktree Info — name, status, namespace, local path, and git branch
- Services — Kubernetes pod names and running state
- File Syncs — active sync sessions with local and remote paths
- Watch Sessions — active file watchers for auto-rebuilds
- Expose Sessions — localhost tunnels to cluster services
- HTTPRoutes — all accessible HTTPS URLs for the deployment
- Timestamps — when the worktree was created and last started
Typical Use Cases
# Quick check before starting work
gws status
# Verify deployment after gws up
gws up && gws status
# Export for CI/CD
gws status --json > deployment-status.json