Preview your SDK
Use Fern’s CLI tool to preview your SDK locally.
Once you configure your SDK, you can preview the generated SDK code using Fern’s CLI.
Simply append the --preview
flag to the command used to generate the SDK and you will see the generated code populated in a .preview
folder within your fern
folder.
Custom Code
If you have added custom code to your SDK, --preview
will
preserve those changes.
Here’s an example of how you can preview your SDK: