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
43 changes: 42 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 Deep, our co-founder |

## Documentation commands

Expand Down Expand Up @@ -579,12 +580,52 @@ 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 is perfect for when you need to reach out with questions, feedback, or just want to say hello!

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

### subject

Use `--subject` to specify the email subject line.

```bash
fern deep --subject "Feature request: API versioning support"
```

### message

Use `--message` to include a message in the email body.

```bash
fern deep --message "Hi Deep! Love the product. Quick question about..."
```

### Example usage

Send a quick hello:

```bash
fern deep --subject "Hello from the Fern CLI!" --message "Thanks for building such an awesome tool!"
```

<Tip>
If you don't specify a subject or message, the CLI will prompt you interactively for the details.
</Tip>

</Accordion>
</AccordionGroup>