add --agree-to-terms flag
This commit is contained in:
parent
8f3872e82e
commit
e3e7f18d4d
|
@ -16,6 +16,7 @@ Flags.init({ forceSave: true }).then(function({
|
||||||
}) {
|
}) {
|
||||||
var myFlags = {};
|
var myFlags = {};
|
||||||
[
|
[
|
||||||
|
'agree-to-terms',
|
||||||
'account-key-type',
|
'account-key-type',
|
||||||
'server-key-type',
|
'server-key-type',
|
||||||
'subscriber-email',
|
'subscriber-email',
|
||||||
|
@ -29,7 +30,7 @@ Flags.init({ forceSave: true }).then(function({
|
||||||
'challenge-tls-alpn-01-xxxx',
|
'challenge-tls-alpn-01-xxxx',
|
||||||
'challenge',
|
'challenge',
|
||||||
'challenge-xxxx',
|
'challenge-xxxx',
|
||||||
'challenge-http-01',
|
'challenge-http-01'
|
||||||
].forEach(function(k) {
|
].forEach(function(k) {
|
||||||
myFlags[k] = flagOptions[k];
|
myFlags[k] = flagOptions[k];
|
||||||
});
|
});
|
||||||
|
|
|
@ -26,6 +26,11 @@ Flags.flags = function(mconf, myOpts) {
|
||||||
'search all site configs rather than by --subject or --servernames',
|
'search all site configs rather than by --subject or --servernames',
|
||||||
'boolean'
|
'boolean'
|
||||||
],
|
],
|
||||||
|
'agree-to-terms': [
|
||||||
|
false,
|
||||||
|
"agree to the Let's Encrypts Subscriber Agreement and Greenlock Terms of Use",
|
||||||
|
'boolean'
|
||||||
|
],
|
||||||
subject: [
|
subject: [
|
||||||
false,
|
false,
|
||||||
'the "subject" (primary domain) of the certificate',
|
'the "subject" (primary domain) of the certificate',
|
||||||
|
|
Loading…
Reference in New Issue