go_generate
Runs go generate commands to trigger code generation, supporting directory, package, regex filters, dry-run, verbose output, timeout, and additional arguments.
Instructions
Run go generate to execute code generation directives
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | Only run generate directives matching this regex | |
| args | No | Additional arguments | |
| skip | No | Skip generate directives matching this regex | |
| dryRun | No | Print commands without running them | |
| package | No | Go package to run generate on (e.g., ./...) | |
| timeout | No | Command timeout in milliseconds | |
| verbose | No | Enable verbose output | |
| directory | No | Working directory |