Set up local SDK previews
Once you configure your SDK, you can use the --preview flag to test generated
SDK code locally before publishing. This allows quick iteration on your SDK
as you develop:
--preview generates your SDK code into a local .preview/ folder within your
fern folder. No changes are published to package managers or GitHub.
--preview preserves any custom code you added to your SDK.
Example usage
Here’s an example of how you can preview a Python SDK.