Commit Graph

14 Commits

Author SHA1 Message Date
neil
7362e8de4d fix format 2024-10-13 17:41:22 +02:00
Sergey Ponomarev
6b7b5caf54 DNS provider API: structured description
Instead of using comments declare info in a special variable.
Then the variable can be used to print the DNS API provider usage.
The usage can be parsed on UI and show all needed inputs for options.

The info is stored in plain string that it's both human-readable and easy to parse:

    dns_example_info='API name
     An extended description.
     Multiline.
    Domains: list of alternative domains to find
    Site: the dns provider website e.g. example.com
    Docs: Link to ACME.sh wiki for the provider
    Options:
     VARIABLE1 Title for the option1.
     VARIABLE2 Title for the option2. Default "default value".
     VARIABLE3 Title for the option3. Description to show on UI. Optional.
    Issues: Link to a support ticket on https://github.com/acmesh-official/acme.sh
    Author: First Lastname <authoremail@example.com>, Another Author <https://github.com/example>;
    '

Here:
VARIABLE1 will be required.
VARIABLE2 will be required too but will be populated with a "default value".
VARIABLE3 is optional and can be empty.

A DNS provider may have alternative options like CloudFlare may use API KEY or API Token.
You can use a second section OptionsAlt: section.

Some providers may have alternative names or domains e.g. Aliyun and AlibabaCloud.
Add them to Domains: section.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-05-18 12:06:41 +03:00
stephen
2a05f24cb6
Add dns.la api support
Add dns.la api support
2022-08-19 11:12:16 +08:00
neil
5fbaeda217
Update dns_la.sh 2022-08-18 19:48:09 +08:00
stephen
233c724b2d
dns.la official acme script
dns.la official acme script
2022-08-17 18:18:42 +08:00
stephen
e1eb001872
dns.la official acme script
dns.la official acme script
2022-08-17 17:23:12 +08:00
stephen
5899d7034f
dns.la official acme script
dns.la official acme script
2022-08-16 15:35:46 +08:00
stephen
23c3e9482f
Delete dns_la.sh 2022-08-16 15:35:22 +08:00
stephen
dd980d9dca
dns.la official acme script
dns.la official acme script
2022-08-16 15:30:10 +08:00
stephen
d4ed50a915
Delete dns_la.sh 2022-08-16 15:29:35 +08:00
stephen
67a2a4f249
dns.la dns acme script
dns.la dns acme script
2022-08-16 15:14:27 +08:00
stephen
a6e87e7e08
Delete dns_la.sh 2022-08-16 15:11:55 +08:00
stephen
33da8a7f62
dns.la official acme script, error fixed
fixed shcheck error
2022-08-16 09:51:59 +08:00
stephen
671eecf203
www.dns.la official acme script
www.dns.la official acme script
2022-08-15 18:10:18 +08:00