HEX
Server: LiteSpeed
System: Linux server3ir.xdlhost.com 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
User: gmparts (1037)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/293427/root/lib/python3.6/site-packages/certbot/_internal/cli/group_adder.py
"""This module contains a function to add the groups of arguments for the help
display"""
from typing import TYPE_CHECKING

from certbot._internal.cli.verb_help import VERB_HELP

if TYPE_CHECKING:
    from certbot._internal.cli import helpful


def _add_all_groups(helpful: "helpful.HelpfulArgumentParser") -> None:
    helpful.add_group("automation", description="Flags for automating execution & other tweaks")
    helpful.add_group("security", description="Security parameters & server settings")
    helpful.add_group("testing",
        description="The following flags are meant for testing and integration purposes only.")
    helpful.add_group("paths", description="Flags for changing execution paths & servers")
    helpful.add_group("manage",
        description="Various subcommands and flags are available for managing your certificates:",
        verbs=["certificates", "delete", "renew", "revoke", "update_symlinks"])

    # VERBS
    for verb, docs in VERB_HELP:
        name = docs.get("realname", verb)
        helpful.add_group(name, description=docs["opts"])