python3 -m mora.cli

python3 -m mora.cli [OPTIONS] COMMAND [ARGS]...

check-configuration-db-status

python3 -m mora.cli check-configuration-db-status [OPTIONS]

checkdb

Check that database is online.

python3 -m mora.cli checkdb [OPTIONS]

Options

--wait <wait>

Wait up to n seconds for the database connection before exiting.

initdb

Initialize database.

This is supposed to be idempotent, so you can run it without fear on an already initialized database.

python3 -m mora.cli initdb [OPTIONS]

Options

--wait <wait>

Wait up to n seconds for the database connection before exiting.

use-conf-db

python3 -m mora.cli use-conf-db [OPTIONS]

wait-for-rabbitmq

python3 -m mora.cli wait-for-rabbitmq [OPTIONS]

Options

--seconds <seconds>

Wait up to n seconds for rabbitmq.