Usage

As already mentioned in Setup, python -m sir is the entry point for the command line interface which provides several subcommands:

reindex

This subcommand allows reindexing data for specific or all entity types (see The import process for more information).

triggers

This subcommand regenerates the trigger files in the sql/ directory (see AMQP Setup for more information).

amqp_setup

This subcommand sets up AMQP exchanges and queues (see Triggers for more information).

amqp_watch

This subcommand starts a process that listens on the configured queues and regenerates the index data (see Queues for more information).

All of them support the --help option that prints further information about the available options.