Skip to content

Commit

Permalink
Add rdm commands to CLI reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Samk13 authored and fenekku committed Mar 13, 2024
1 parent fe0be70 commit 986a875
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions docs/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,3 +443,40 @@ Compile message catalogs (generate `.mo` files).
### **`upgrade`**

!!! error "Not yet supported"

## Invenio RDM commands

### **`rdm`**

Invenio app rdm commands.

### **`rdm pages`**

see [Static pages](/customize/static_pages).

### **`rdm pages create`**

**Options**

- `-f`, `--force` Creates static pages.

### **`rdm fixtures`**

Create the fixtures.

### **`rdm rebuild-all-indices`**

Reindex all services with optional selecting and ordering.

**Options**

- `-o`, `--order` Comma-separated list of services to reindex in the specified order. If not provided, all services will be reindexed.
e.g.:

```bash
invenio rdm rebuild-all-indices -o users,communities,records,requests,request_events
```

if you don't specify services, The following services will be reindexed:

`users, groups, domains, communities, members, records, record-media-files, affiliations, awards, funders, names, subjects, vocabularies, requests, request_events, oaipmh-server`

0 comments on commit 986a875

Please sign in to comment.