go/docs/cmd/build/sdk/index.md
Snider a92df56fd1 docs: sync core build with CLI
- Added from-path and pwa subcommands
- Added missing flags (--archive, --checksum, --config, --format, --push)
- Updated build sdk with --dry-run and --version flags

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 16:17:00 +00:00

682 B

core build sdk

Generate typed API clients from OpenAPI specifications. Supports TypeScript, Python, Go, and PHP.

Usage

core build sdk [flags]

Flags

Flag Description
--spec Path to OpenAPI spec file
--lang Generate only this language (typescript, python, go, php)
--version Version to embed in generated SDKs
--dry-run Show what would be generated without writing files

Examples

core build sdk                      # Generate all
core build sdk --lang typescript    # TypeScript only
core build sdk --spec ./api.yaml    # Custom spec
core build sdk --dry-run            # Preview