Skip to content

Commit 372179e

Browse files
Add --nested option to download and upload CLI commands (#526)
Generated-By: mintlify-agent Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
1 parent 13e3926 commit 372179e

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

references/lightdash-cli.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,9 @@ You can make changes to the code and upload these changes back to your Lightdash
610610
- `--language-map` or `-l`
611611
- (default: false)
612612
- generate `<item name>.language.map.yml` for the downloaded charts and dashboards with all translatable text from charts and dashboards
613+
- `--nested`
614+
- (default: false)
615+
- split downloaded content into sub-folders matching the spaces in your project
613616

614617
**Examples:**
615618

@@ -639,6 +642,12 @@ You can also use relative paths like:
639642
lightdash download -p ../
640643
```
641644

645+
Download all charts and dashboards organized by space.
646+
647+
```bash
648+
lightdash download --nested
649+
```
650+
642651
Download all charts and dashboards from a specific project with language maps.
643652

644653
```bash
@@ -676,6 +685,9 @@ If there have been changes made to a chart or dashboard in the application that
676685
- `--validate`
677686
- (default: false)
678687
- Validate charts and dashboards after upload and display any validation errors
688+
- `--nested`
689+
- (default: false)
690+
- expect content to be organized in sub-folders matching the spaces in your project (use this if content was downloaded with `--nested`)
679691

680692
**Examples:**
681693

0 commit comments

Comments
 (0)