regen

command
v2.945.5 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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