mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
Provide a way to opt-in to EFF e-mail (#4082)
* Add eff email flags * add eff_sign_up * add requests dep to certbot * make pylint happy * Add EFF subscribe uri * add POST to EFF and write tests * log EFF e-mail submission * Add eff module and tests * cleanup client tests * offer subscription when changing e-mail * cleanup client.py and tests * expand e-mail prompt
This commit is contained in:
@@ -880,6 +880,12 @@ def prepare_and_parse_args(plugins, args, detect_defaults=False): # pylint: dis
|
||||
helpful.add(
|
||||
["register", "unregister", "automation"], "-m", "--email",
|
||||
help=config_help("email"))
|
||||
helpful.add(["register", "automation"], "--eff-email", action="store_true",
|
||||
default=None, dest="eff_email",
|
||||
help="Share your e-mail address with EFF")
|
||||
helpful.add(["register", "automation"], "--no-eff-email", action="store_false",
|
||||
default=None, dest="eff_email",
|
||||
help="Don't share your e-mail address with EFF")
|
||||
helpful.add(
|
||||
["automation", "certonly", "run"],
|
||||
"--keep-until-expiring", "--keep", "--reinstall",
|
||||
|
||||
Reference in New Issue
Block a user