A CLI tool for Webex Calling and Contact Center APIs.
- Go CLI at repo root (
main.go,cmd/,internal/) codegen/— Python scripts that generatecmd/calling/*.goandcmd/cc/*.gofrom Postman collectionssite/— Astro Starlight docs site for GitHub Pagesskill/— Sample Claude Code skill for using the CLI
The files in cmd/calling/ and cmd/cc/ are generated — do not edit them by hand.
A Makefile orchestrates the pipeline. Key targets:
# Full pipeline (download + generate + build):
make refresh
# Regenerate from existing committed collections:
make codegen && make build
# Download collections only:
make downloadNo API key is required — collections are fetched from the Webex Public Workspace via Postman's public gateway.
go build -o webex .Releases are handled by a GitHub Actions workflow triggered by pushing a tag.
Do not run goreleaser locally — it requires secrets (e.g. WEBEX_CLIENT_ID)
that are only available in CI.
git tag v0.X.0
git push origin v0.X.0
# Then set the release notes via gh:
gh release edit v0.X.0 --title "v0.X.0" --notes "## Improvements
* ..."github.com/Cloverhound/webex-cli — all Go imports use this path.
cmd/root.go— Root cobra command, global flagscmd/auth.go— Auth subcommand (status, list, switch)cmd/login.go/cmd/logout.go— OAuth flowinternal/auth/— Token storage (keyring), OAuth, org resolutioninternal/client/— HTTP client, request builder, paginationinternal/config/— Config file (~/.webex-cli.yaml)internal/output/— JSON/table/raw output formattingcodegen/extract_api_outline.py— Postman → normalized CLI namescodegen/extract_api_spec.py— Postman → enriched API spec (params, body fields)codegen/generate_cli.py— API spec → Go cobra command files