cli

Command line interface for the application.

CLI Usage

run_web

Starts the application server.

run_web [OPTIONS] COMMAND [ARGS]...

Options

-H, --host <host>

Host interface to listen on. Use 0.0.0.0 for all available interfaces.

Default:

0.0.0.0

-p, --port <port>

Port to bind.

Default:

8000

-W, --http-workers <http_workers>

The number of HTTP worker processes for handling requests.

Default:

5

-r, --reload

Enable reload

-v, --verbose

Enable verbose logging.

-d, --debug

Enable debugging.

run_bot

Starts the bot.

run_bot [OPTIONS] COMMAND [ARGS]...

run_all

Starts the bot and the application server.

run_all [OPTIONS]

Options

-d, --debug

Enable debugging.

-v, --verbose

Enable verbose logging.

-r, --reload

Enable reload

-W, --http-workers <http_workers>

The number of HTTP worker processes for handling requests.

Default:

5

-p, --port <port>

Port to bind.

Default:

8000

-H, --host <host>

Host interface to listen on. Use 0.0.0.0 for all available interfaces.

Default:

0.0.0.0