diff --git a/COMMANDS.MD b/COMMANDS.MD index b0656eb..e07b6fe 100644 --- a/COMMANDS.MD +++ b/COMMANDS.MD @@ -14,14 +14,14 @@ For an entire list of commands, you can run `php artisan list` - [Indexer](#indexer) - [Anime](#indexer-anime) - [Manga](#indexer-manga) - + ## Commands ### Serve Command: `serve` Example: `php artisan serve` -Serve the application on the PHP development server +Serve the application on the PHP development server ### Queue @@ -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} +```