Skip to content
Platform Status

CLI

file

speakeasy patches restore-pristine file

Restore a file to its pristine (generated) version, discarding custom edits

speakeasy patches restore-pristine file [flags]
-d, --dir string project directory containing .speakeasy/gen.lock (default ".")
-f, --file string relative path to the tracked file (e.g. src/sdk/foo.py)
-h, --help help for file
--logLevel string the log level (available options: [info, warn, error]) (default "info")