zstack-cli
Installation
SKILL.md
ZStack CLI
Use the zstack CLI instead of scraping the ZStack web UI whenever you need to inspect or operate workspaces, deployments, resources, domains, deploy logs, runtime DB/files/secrets, admin capacity, GitHub source discovery, or shell access.
Defaults
- Run from
/Users/idanbeck/zerg-stack/zstackunless the user asks for another repo. - CLI source lives in
cli/zstack. - Config is
~/.config/zstack/config.json; environment overrides areZSTACK_BASE_URL,ZSTACK_TOKEN,ZSTACK_SESSION_TOKEN,ZSTACK_WORKSPACE,ZSTACK_CONFIG_PATH. - Prefer API tokens for automation. Browser session login is fine for local operator tasks.
- Prefer JSON-returning commands for scripts and agents.
Build
cd /Users/idanbeck/zerg-stack/zstack/cli/zstack
go build -o zstack .