Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 37 additions & 1 deletion fern/products/cli-api-reference/pages/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ hideOnThisPage: true
| [`fern logout`](#fern-logout) | Log out of the Fern CLI |
| [`fern export`](#fern-export) | Export an OpenAPI spec for your API |
| [`fern api update`](#fern-api-update) | Manually update your OpenAPI spec |
| [`fern deep`](#fern-deep) | Send an email to our co-founder, Deep |

## Documentation commands

Expand Down Expand Up @@ -579,12 +580,47 @@ hideOnThisPage: true

### api

Use `--api` to specify the API to update if there are multiple specs with a defined `origin` in `generators.yml`. If you don't specify an API, all OpenAPI specs with an `origin` will be updated.
Use `--api` to specify the API to update if there are multiple specs with a defined `origin` in `generators.yml`. If you don't specify an API, all OpenAPI specs with an `origin` will be updated.

<CodeBlock title="terminal">
```bash
fern api update --api public-api
```
</CodeBlock>
</Accordion>

<Accordion title="fern deep">

Use `fern deep` to send an email directly to Deep, our co-founder. This command opens a compose window in your default email client with Deep's address pre-filled.

<CodeBlock title="terminal">
```bash
fern deep [--subject <subject>] [--message <message>]
```
</CodeBlock>

### subject

Use `--subject` to pre-fill the email subject line.

```bash
fern deep --subject "Feature request"
```

### message

Use `--message` to pre-fill the email body with your message.

```bash
fern deep --message "I have an idea about improving the docs experience..."
```

<Tip>
You can also combine both options to craft a complete email from the command line:
```bash
fern deep --subject "Quick question" --message "How do I configure multiple API instances?"
```
</Tip>

</Accordion>
</AccordionGroup>