cli/docs/cmd/build/sdk/example.md
Snider 8601e5b355 docs: add example.md files for all CLI commands
Each command directory now has both index.md (reference) and
example.md (usage examples and configuration samples).

Also adds exception for docs/cmd/build in .gitignore.

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

694 B

SDK Build Examples

Generate All SDKs

core build sdk

Specific Language

core build sdk --lang typescript
core build sdk --lang php
core build sdk --lang go

Custom Spec

core build sdk --spec ./api/openapi.yaml

With Version

core build sdk --version v2.0.0

Preview

core build sdk --dry-run

Configuration

.core/sdk.yaml:

version: 1

spec: ./api/openapi.yaml

languages:
  - name: typescript
    output: sdk/typescript
    package: "@myorg/api-client"

  - name: php
    output: sdk/php
    namespace: MyOrg\ApiClient

  - name: go
    output: sdk/go
    module: github.com/myorg/api-client-go