Skip to content

Commit

Permalink
Update CLI Reference with --site & --base flags (#1646)
Browse files Browse the repository at this point in the history
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
  • Loading branch information
natemoo-re and sarah11918 authored Oct 13, 2022
1 parent 82d2b61 commit 2a5c454
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/pages/en/reference/cli-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ layout: ~/layouts/MainLayout.astro
title: CLI Reference
i18nReady: true
setup: |
import Since from '~/components/Since.astro';
import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'
---

Expand Down Expand Up @@ -167,6 +168,16 @@ Specifies the path to the config file relative to the project root. Defaults to
astro --config config/astro.config.mjs dev
```

### `--site`

Configures the [`site`](/en/reference/configuration-reference/#site) for your project. Passing this flag will override the `site` value in your `astro.config.mjs` file, if one exists.

### `--base`

<Since v="1.4.1" />

Configures the [`base`](/en/reference/configuration-reference/#base) for your project. Passing this flag will override the `base` value in your `astro.config.mjs` file, if one exists.

### `--verbose`

Enables verbose logging, which is helpful when debugging an issue.
Expand Down

0 comments on commit 2a5c454

Please sign in to comment.