certbot.main module

Certbot main public entry point.

certbot.main.main(cli_args: Optional[List[str]] = None) Optional[Union[str, int]][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