Server IP : 213.176.29.180  /  Your IP : 3.135.198.91
Web Server : Apache
System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
User : webtaragh ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/../lib/modprobe.d/../python3.6/site-packages/certbot/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/../lib/modprobe.d/../python3.6/site-packages/certbot/main.py
"""Certbot main public entry point."""
from typing import List
from typing import Optional
from typing import Union

from certbot._internal import main as internal_main


def main(cli_args: Optional[List[str]] = None) -> Optional[Union[str, int]]:
    """Run Certbot.

    :param cli_args: command line to Certbot, defaults to ``sys.argv[1:]``
    :type cli_args: `list` of `str`

    :returns: value for `sys.exit` about the exit status of Certbot
    :rtype: `str` or `int` or `None`

    """
    return internal_main.main(cli_args)