Skip to content

server ¤

CLI server command.

Functions:

run_server ¤

run_server(opts: Namespace) -> int

Command to manage the server.

Parameters:

  • opts (Namespace) –

    The parsed CLI arguments.

Returns:

  • int

    A CLI exit code.

run_server_logs ¤

run_server_logs(opts: Namespace) -> int

Command to run the server in foreground.

Parameters:

  • opts (Namespace) –

    The parsed CLI arguments.

Returns:

  • int

    A CLI exit code.

run_server_run ¤

run_server_run(opts: Namespace) -> int

Command to run the server in foreground.

Parameters:

  • opts (Namespace) –

    The parsed CLI arguments.

Returns:

  • int

    A CLI exit code.

run_server_start ¤

run_server_start(opts: Namespace) -> int

Command to start the server in background.

Parameters:

  • opts (Namespace) –

    The parsed CLI arguments.

Returns:

  • int

    A CLI exit code.

run_server_status ¤

run_server_status(opts: Namespace) -> int

Command to show the server status.

Parameters:

  • opts (Namespace) –

    The parsed CLI arguments.

Returns:

  • int

    A CLI exit code.

run_server_stop ¤

run_server_stop(opts: Namespace) -> int

Command to stop the server.

Parameters:

  • opts (Namespace) –

    The parsed CLI arguments.

Returns:

  • int

    A CLI exit code.