> 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. For task-scoped instructions for coding agents working in a Fern project, see https://buildwithfern.com/learn/home/fern-instructions.md.

## Faster shell completion on large CLIs

commands

`<cli> completion <shell>` now prints a small script that asks the CLI for candidates on each Tab, instead of a static script containing the whole command tree. On a CLI with about 13,700 commands, the zsh script was 14 MB and took over a minute to load on the first Tab.

Read the docs

## Prefixed API-key headers

auth

Header API-key schemes now send their configured prefix. An `auth-schemes` entry such as `{ header: X-Api-Key, prefix: Key }` sends `X-Api-Key: Key <credential>` whether the key comes from the flag, the environment variable, or the keyring entry `auth login` stores. Previously the bare credential was sent.

Read the docs