Refactor and Bump version to 1.1.0
This commit is contained in:
20
README.md
20
README.md
@@ -15,7 +15,7 @@ The resulting binary will be located in `./build/bin/releaseExecutable/`.
|
||||
The following command updates all A and AAAA DNS records in Porkbun for `example.com` and `test.example.com`.
|
||||
|
||||
```
|
||||
ddns porkbun \
|
||||
ddns porkbun update \
|
||||
--key=<key> \
|
||||
--secret-key=<secret key> \
|
||||
--domain=example.com \
|
||||
@@ -27,12 +27,18 @@ Alternatively, a file can be used to declare one or more configurations.
|
||||
The above example can be declared as follows.
|
||||
|
||||
```
|
||||
porkbun
|
||||
key=<key>
|
||||
secret-key=<secret key>
|
||||
domain=example.com
|
||||
subdomain=
|
||||
subdomain=test
|
||||
[
|
||||
{
|
||||
"type": "porkbun",
|
||||
"key": "<key>",
|
||||
"secretKey": "<secret key>"
|
||||
"domain": "example.com",
|
||||
"subdomains": [
|
||||
"",
|
||||
"test"
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
To use this config file, execute the command `ddns --config=<config file>`.
|
||||
|
||||
Reference in New Issue
Block a user