certbot.main module

Certbot main public entry point.

certbot.main.main(cli_args: List[str] | None = None) str | int | None[source]

Run Certbot.

Parameters:

cli_args (list of str) – command line to Certbot, defaults to sys.argv[1:]

Returns:

value for sys.exit about the exit status of Certbot

Return type:

str or int or None