regen

command
v2.936.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

cmd/regen provides an ergonomic entry point for regenerating an already-bootstrapped SDK.

Instead of manually specifying -s, -o, and -l flags, point it at an SDK directory and it infers the language from gen.yaml and the schema from workflow.yaml or an openapi* file in the directory root.

Usage:

go run cmd/regen/main.go [flags] [dir]

Examples:

go run cmd/regen/main.go ~/sdks/my-go-sdk
go run cmd/regen/main.go -s override.yaml .
go run cmd/regen/main.go --set go.version=2.0.0 ~/sdks/my-go-sdk
go run cmd/regen/main.go --set generation.sdkClassName=MySDK --set go.flattenGlobalSecurity=true .

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL