Skip to content

gitea.cli.pull_request.main

main

CLI commands for managing pull requests.

Functions:

gitea.cli.pull_request.main.register_commands

register_commands() -> None

Register pull-request-related commands to the pull_request_app.

Source code in src/gitea/cli/pull_request/main.py
def register_commands() -> None:
    """Register pull-request-related commands to the pull_request_app."""
    from gitea.cli.pull_request.list import list_command  # noqa: PLC0415

    pull_request_app.command("list", help="List pull requests.")(list_command)