mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
Moved VERBS back to cli.py
This commit is contained in:
+6
-2
@@ -629,9 +629,13 @@ class HelpfulArgumentParser(object):
|
||||
"""
|
||||
|
||||
def __init__(self, args, plugins, detect_defaults=False):
|
||||
|
||||
from letsencrypt import main
|
||||
self.VERBS = main.VERBS
|
||||
self.VERBS = {"auth": main.obtain_cert, "certonly": main.obtain_cert,
|
||||
"config_changes": main.config_changes, "run": main.run,
|
||||
"install": main.install, "plugins": main.plugins_cmd,
|
||||
"renew": renew, "revoke": main.revoke,
|
||||
"rollback": main.rollback, "everything": main.run}
|
||||
|
||||
# List of topics for which additional help can be provided
|
||||
HELP_TOPICS = ["all", "security", "paths", "automation", "testing"] + list(self.VERBS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user