Summary
The generator prints diagnostic messages to stdout via fmt.Printf:
// internal/gen/generator.go:212
fmt.Printf("Generating file %s from %s...\n", outPath, file.inputPath)
// internal/gen/generator.go:236
fmt.Printf("Skipping generated file: %s\n", inputFile)
These are log/diagnostic messages, not program output. They should go to stderr so they don't corrupt piped output when the CLI is used in scripts or CI pipelines.
Fix
fmt.Fprintf(os.Stderr, "Generating file %s from %s...\n", outPath, file.inputPath)
fmt.Fprintf(os.Stderr, "Skipping generated file: %s\n", inputFile)
References
Summary
The generator prints diagnostic messages to stdout via
fmt.Printf:These are log/diagnostic messages, not program output. They should go to stderr so they don't corrupt piped output when the CLI is used in scripts or CI pipelines.
Fix
References