Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

pyrit.cli.pyrit_backend

PyRIT Backend CLI - Command-line interface for running the PyRIT backend server.

This module provides the main entry point for the pyrit_backend command.

Functions

initialize_and_run_async

initialize_and_run_async(parsed_args: Namespace) → int

Initialize PyRIT and start the backend server.

Returns:

main

main(args: Optional[list[str]] = None) → int

Start the PyRIT backend server CLI.

Returns:

parse_args

parse_args(args: Optional[list[str]] = None) → Namespace

Parse command-line arguments for the PyRIT backend server.

Returns: