Skip to content
Merged
Changes from 2 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
10 changes: 8 additions & 2 deletions src/content/docs/en/reference/cli-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Runs diagnostics (such as type-checking within `.astro` files) against your proj

This command is intended to be used in CI workflows.

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

Use these flags to customize the behavior of the command.

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

### Flags

#### `--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 +311,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>
### Available preferences

- `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