Skip to content

Commit

Permalink
adds information about downloading all charts when you download a das…
Browse files Browse the repository at this point in the history
…hboard as code (#13)
  • Loading branch information
TuringLovesDeathMetal authored Dec 30, 2024
1 parent 6d37380 commit 4bcccad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/references/content-as-code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ You can use the chart's SLUG, UUID, or the URL to the saved chart to select the

### Use `lightdash download -d` or `lightdash download --dashboards` to select specific dashboards

For example, if I only wanted to download a specific dashboard as code, I would run the command:
This will download the dashboard and all of the charts in the dashboard as code. For example, if I only wanted to download a specific dashboard as code, I would run the command:

```bash
lightdash download -d https://app.lightdash.cloud/the-url-to-my-dashboard
```

You can use the dashboard's SLUG, UUID, or the URL to the dashboard to select the dashboard.
You can use the dashboard's SLUG, UUID, or the URL to the dashboard to select the dashboard.

#### To select multiple charts or dashboards, add a space between the items

Expand Down
2 changes: 1 addition & 1 deletion docs/references/lightdash-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ You can make changes to the code and upload these changes back to your Lightdash
- `--charts` or `-c`
- select specific charts as code to download from your project. Use the chart SLUG, UUID or URL to specify the chart.
- `--dashboards` or `-d`
- select specific dashboards as code to download from your project. Use the dashboard SLUG, UUID or URL to specify the dashboard.
- select specific dashboards as code to download from your project. This will also download all charts in the dashboard as code. Use the dashboard SLUG, UUID or URL to specify the dashboard.

**Examples:**

Expand Down

0 comments on commit 4bcccad

Please sign in to comment.