fern init
initializes a new Fern workspace in the current folder. By default, you’ll see the IMDb API
(International Movie Database) example.
Usage
This will create the following folder structure in your project:
Options
By adding --docs
, you’ll also get a sample documentation website for your API with an API Reference section.
The file added will look like:
docs.yml
To publish the API docs, run fern generate --docs
. See more details on this command at fern-generate.