Skip to content
Merged
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
12 changes: 10 additions & 2 deletions src/content/docs/en/reference/cli-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ The following hotkeys can be used in the terminal where the Astro development se

Builds your site for deployment. By default, this will generate static files and place them in a `dist/` directory. If any routes are [rendered on demand](/en/guides/on-demand-rendering/), this will generate the necessary server files to serve your site.

### Flags
<h3>Flags</h3>

The command accepts [common flags](#common-flags) and the following additional flags:

Expand Down Expand Up @@ -297,6 +297,14 @@ Adapter none
Integrations @astrojs/starlight (v0.35.3)
```

<h3>Flags</h3>

Use the following flags to customize the behavior of the command.

#### `--copy`

The command will copy the output to the clipboard without prompting.

## `astro preferences`

Manage user preferences with the `astro preferences` command. User preferences are specific to individual Astro users, unlike the `astro.config.mjs` file which changes behavior for everyone working on a project.
Expand All @@ -305,7 +313,7 @@ User preferences are scoped to the current project by default, stored in a local

Using the `--global` flag, user preferences can also be applied to every Astro project on the current machine. Global user preferences are stored in an operating system-specific location.

<h3> Available preferences </h3>
<h3>Available preferences</h3>

- `devToolbar` — Enable or disable the development toolbar in the browser. (Default: `true`)
- `checkUpdates` — Enable or disable automatic update checks for the Astro CLI. (Default: `true`)
Expand Down