diff --git a/certbot/certbot/main.py b/certbot/certbot/main.py index 6aff07c4e..4e1525575 100644 --- a/certbot/certbot/main.py +++ b/certbot/certbot/main.py @@ -8,6 +8,13 @@ from certbot._internal import main as internal_main logger = logging.getLogger(__name__) -def main(*args, **kwargs): - """Shim around internal main function""" - return internal_main.main(*args, **kwargs) +def main(cli_args=None): + """Shim around internal main script execution. + + :returns: result of requested command + + :raises errors.Error: OS errors triggered by wrong permissions + :raises errors.Error: error if plugin command is not supported + + """ + return internal_main.main(cli_args)