mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
added docs for the new command
This commit is contained in:
parent
e0cc44495b
commit
6568ff264e
15
COMMANDS.MD
15
COMMANDS.MD
@ -98,7 +98,7 @@ This function only needs to be run once. Any entry's cache updating will automat
|
||||
|
||||
Command:
|
||||
```
|
||||
indexer:anime
|
||||
indexer:manga
|
||||
{--failed : Run only entries that failed to index last time}
|
||||
{--resume : Resume from the last position}
|
||||
{--reverse : Start from the end of the array}
|
||||
@ -109,3 +109,16 @@ indexer:anime
|
||||
Example: `indexer:manga`
|
||||
|
||||
This simply translates to running the indexer without any additional configuration.
|
||||
|
||||
#### Indexer: Incremental
|
||||
Incrementally indexes media entries from MAL.
|
||||
This command will compare the latest version of MAL ids from the [mal_id_cache](https://github.com/purarue/mal-id-cache)
|
||||
github repository and compares them with the downloaded ids from the previous run. If no ids found from the previous run, a full indexing session is started.
|
||||
|
||||
Command:
|
||||
```
|
||||
indexer:incremental {mediaType*}
|
||||
{--failed : Run only entries that failed to index last time}
|
||||
{--resume : Resume from the last position}
|
||||
{--delay=3 : Set a delay between requests}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user