Skip to content

Commit

Permalink
feat: Provide some scripts to seed some layers (close #185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Nouguier committed Oct 9, 2020
1 parent 1f0b1cd commit 9bfffa8
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ function getGuidesSidebar () {
function getReferenceSidebar () {
return [
'environment',
'cli'
'cli',
'helper-scripts'
]
}

Expand Down
37 changes: 37 additions & 0 deletions docs/reference/helper-scripts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
sidebarDepth: 3
---

# Helper scripts

## clear-cache

### Description

Clears the cache of a given layer

`usage: clear-cache <layer>`

### Example

```bash
$./kargo exec clear-cache "osm-bright 9 6"
```

## seed-cache

### Description

Seeds the cache of a given layer

`usage: seed-cache <layer> <max-level> <nb-threads>`

Where:
* `max-level` specifies the maximum level
* `nb-threads` specifies the number of threads to used when seeding

### Example

```bash
$./kargo exec seed-cache "osm-bright 9 6"
```

0 comments on commit 9bfffa8

Please sign in to comment.