CLI
repro
speakeasy repro
Reproduce a failed generation locally
Details
Section titled “Details”Reproduce a failed generation locally
Section titled “Reproduce a failed generation locally”Download and reproduce a failed SDK generation locally for debugging purposes.
This command will:
- Fetch the CLI events for the provided execution ID
- Download the merged/overlayed OpenAPI spec that was actually used for generation (default)
- Create a local reproduction environment with all necessary files
- Automatically run ‘speakeasy run’ to reproduce the generation
By default, this command downloads the final merged spec that was used for generation. Use —use-raw-workflow if you need to debug overlay or workflow source issues.
Example usage:
speakeasy repro myorg_myworkspace_c303282d-f2e6-46ca-a04a-35d3d873712dspeakeasy repro myorg_myworkspace_c303282d-f2e6-46ca-a04a-35d3d873712d --directory /tmp/debugspeakeasy repro myorg_myworkspace_c303282d-f2e6-46ca-a04a-35d3d873712d --use-raw-workflow # Debug workflow/overlay issuesspeakeasy repro [repro-id] [flags]Options
Section titled “Options” -d, --directory string Directory to create reproduction files in (default: /tmp/{orgSlug}.{workspaceSlug}) -h, --help help for repro --use-raw-workflow Use the original workflow to debug overlay/source issues (default: use merged spec)Options inherited from parent commands
Section titled “Options inherited from parent commands” --logLevel string the log level (available options: [info, warn, error]) (default "info")Parent Command
Section titled “Parent Command”- speakeasy - The Speakeasy CLI tool provides access to the Speakeasy.com platform