1
0
mirror of https://github.com/go-acme/lego.git synced 2025-07-16 20:04:18 +02:00

cli: add environment variable for specifying email (#2398)

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
dmayle
2025-01-12 17:32:20 -08:00
committed by GitHub
parent 5f69695771
commit b7947d83c5

View File

@ -71,6 +71,7 @@ func CreateFlags(defaultPath string) []cli.Flag {
&cli.StringFlag{
Name: flgEmail,
Aliases: []string{"m"},
EnvVars: []string{"LEGO_EMAIL"},
Usage: "Email used for registration and recovery contact.",
},
&cli.StringFlag{