update readme

This commit is contained in:
2022-02-03 17:04:27 +08:00
parent d85ac9416e
commit 8282a4c704

View File

@@ -5,7 +5,7 @@ ACME Client in Rust
Acme client help: Acme client help:
```shell ```shell
$ acme-client --help $ acme-client --help
acme-client 1.0.1 acme-client 1.1.0
Hatter Jiang <jht5945@gmail.com> Hatter Jiang <jht5945@gmail.com>
Acme auto challenge client, acme-client can issue certificates from Let's encrypt Acme auto challenge client, acme-client can issue certificates from Let's encrypt
@@ -13,6 +13,7 @@ USAGE:
acme-client [FLAGS] [OPTIONS] acme-client [FLAGS] [OPTIONS]
FLAGS: FLAGS:
--allow-interact Allow interact
--check Check cert config --check Check cert config
-h, --help Prints help information -h, --help Prints help information
--hide-logo Hide logo --hide-logo Hide logo
@@ -29,6 +30,7 @@ OPTIONS:
-d, --domain <domain>... Domains -d, --domain <domain>... Domains
--email <email> Contract email --email <email> Contract email
-m, --mode <mode> Mode [default: prod] -m, --mode <mode> Mode [default: prod]
-o, --outputs <outputs> Outputs file
-p, --port <port> Http port [default: 80] -p, --port <port> Http port [default: 80]
--timeout <timeout> Timeout (ms) [default: 5000] --timeout <timeout> Timeout (ms) [default: 5000]
-t, --type <type> Type http or dns [default: http] -t, --type <type> Type http or dns [default: http]
@@ -42,11 +44,19 @@ OPTIONS:
```json ```json
{ {
"port": 18342, "port": 18342,
"credentialSuppliers": {
"alibabacloud": "account://***:****@alibabacloud?id=dns"
},
"triggerAfterUpdate": ["/usr/local/nginx/nginx", "-s", "reload"], "triggerAfterUpdate": ["/usr/local/nginx/nginx", "-s", "reload"],
"notifyToken": "dingtalk:access_token?sec_token", "notifyToken": "dingtalk:access_token?sec_token",
"certItems": [{ "certItems": [{
"path": "dir_cryptofan_org", "path": "dir_cryptofan_org",
"dnsNames": ["cryptofan.org", "www.cryptofan.org"] "dnsNames": ["cryptofan.org", "www.cryptofan.org"]
}, {
"path": "dir_webauthn_host",
"dnsNames": ["webauthn.host", "*.webauthn.host"],
"type": "dns",
"supplier": "alibabacloud"
}] }]
} }
``` ```