Refactor and Bump version to 1.1.0

This commit is contained in:
2026-03-14 12:08:44 +01:00
parent 90b8f3f08a
commit 67509e9062
20 changed files with 219 additions and 361 deletions

View File

@@ -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>`.