> This page is for CLI 参考.

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 3.18.0

**`(feat):`** Add `ai-example-style-instructions` field to docs.yml experimental config. This allows providing custom styling instructions for AI-generated examples to guide the AI in generating examples that match your preferred style, naming conventions, or domain-specific terminology.

## 3.17.0

**`(feat):`** Enable AI-generated endpoint examples by default. To disable, set ai-examples to false in docs.yml's `experimental` settings.

## 3.16.1

**`(feat):`** Include examples for AI processing if 30% or more of the values are generic.

## 3.16.0

**`(feat):`** Docs linting (`fern check`) now respects `settings.substitute-env-vars` and throws errors for missing environment variables, matching the behavior of `fern generate --docs`. The full `instances:` config including custom domains now goes through env var substitution when this setting is enabled.

**`(fix):`** Improved error logging for docs publishing failures. When API definition registration fails with a "fetch failed" error, the CLI now logs detailed error information including status code, error type, reason, and error message to help debug network issues.

## 3.15.0

**`(feat):`** Add `fern overrides compare` command to generate OpenAPI overrides by diffing two specs. This enables a new workflow where you can copy your OpenAPI spec, edit the copy directly, and compile the differences into an overrides file.