Commit Graph

24 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
Zachary Peschke
160513c671 Minor grammar fixes for gd 2022-12-09 09:55:47 -07:00
Awalon
2d4aa7ff8b
Added example and URL for API key 2022-08-13 05:34:05 +02:00
Awalon
5684b7c329
dns_gd (GoDaddy): Delete TXT record instead of just setting them to an empty value. Replaced "#todo: check if the record takes effect" by some error handling and validation. 2022-08-13 05:02:12 +02:00
Tony Gravagno
eca57beec1
Issue #2850 : grammar corrections for "exists" and "exist". 2020-06-29 11:29:10 -07:00
neilpang
f90a2ae195 check UNABLE_TO_AUTHENTICATE 2018-06-12 21:19:27 +08:00
neil
f8526f027c fix https://github.com/Neilpang/acme.sh/issues/1539 2018-04-20 14:05:09 +08:00
neilpang
98a7e72f0a fix https://github.com/Neilpang/acme.sh/issues/1512#issuecomment-381121303 2018-04-13 21:28:13 +08:00
neilpang
d8eb08e214 fix format 2018-02-14 22:36:17 +08:00
neilpang
c6f5c7f1a3 fix gd 2018-02-14 22:31:02 +08:00
neilpang
db50462920 minor use interactive _sleep 2017-02-18 12:03:21 +08:00
Bastian Bittorf
3ca93f4a4c shellcheck: fix several occurences of SC2034
message:
SC2034: $VARNAME appears unused. Verify it or export it.

most of these are related to the style:
we generate global vars, which are used in other functions.

the var "lexical_url" was really unused (left it as comment)

the travis-check now does not need anymore special flags.

Signed-off-by: Bastian Bittorf <bb@npl.de>
2017-01-13 14:54:09 +01:00
klemens
329174b6d9 spelling fixes 2016-12-14 21:32:24 +01:00
neilpang
422e5026d6 fix shellcheck warnings 2016-11-12 11:13:40 +08:00
neilpang
e440223b40 fix shellcheck warnings 2016-11-12 00:50:44 +08:00
neilpang
69925ce823 fix shellcheck warnings. 2016-11-12 00:09:45 +08:00
neilpang
e9f9f515bd fix shellcheck warnings. 2016-11-12 00:06:34 +08:00
neilpang
c7b16249b8 fix shellcheck warnings 2016-11-11 23:30:14 +08:00
neilpang
4c2a384159 Add shfmt to format source code 2016-11-09 19:30:39 +08:00
neilpang
5d6fd8099f add dns_xxx_rm function
https://github.com/Neilpang/acme.sh/issues/79
2016-10-25 23:08:02 +08:00
neil
d190a43e0a https://github.com/Neilpang/acme.sh/issues/258 2016-08-08 10:19:51 +08:00
root
0886e67df7 chmod +x 2016-08-01 17:08:01 +08:00
neil
30de13b4df support Godaddy domaain api 2016-07-29 18:07:16 +08:00