Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
Out string `arg:"" help:"Output directory for generated files."`
Export string `help:"Export function name (required if multiple exports exist)." short:"e"`
Flavor string `help:"Output flavor (e.g., zod)." short:"f"`
Discovery bool `help:"Generate discovery.json." short:"d"`
NoConfig bool `help:"Ignore config function."`
Package string `help:"Package to scan (default: current directory)." short:"p" default:"."`
Check bool `help:"Check if generated files are up-to-date (exit 1 if stale)." short:"c"`
Types []string `help:"Generate types without a tygor app (e.g., -t ErrorCode -t github.com/foo/bar.MyType)." short:"t" name:"type"`
}
Click to show internal directories.
Click to hide internal directories.