Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

33
tldr/cradle-elastic Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# cradle elastic
> Manage the Elasticsearch instances for a Cradle instance.
> More information: <https://cradlephp.github.io/docs/3.B.-Reference-Command-Line-Tools.html#elastic>.
- Truncate the Elasticsearch index:
`cradle elastic flush`
- Truncate the Elasticsearch index for a specific package:
`cradle elastic flush {{package}}`
- Submit the Elasticsearch schema:
`cradle elastic map`
- Submit the Elasticsearch schema for a specific package:
`cradle elastic map {{package}}`
- Populate the Elasticsearch indices for all packages:
`cradle elastic populate`
- Populate the Elasticsearch indices for a specific package:
`cradle elastic populate {{package}}`