namedotcom: Improve documentation (#1109)

This commit is contained in:
Jim Flattery 2020-04-07 17:46:05 -04:00 committed by GitHub
parent cd52839f18
commit 3213540c52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -18,9 +18,13 @@ Configuration for [Name.com](https://www.name.com).
- Code: `namedotcom`
{{% notice note %}}
_Please contribute by adding a CLI example._
{{% /notice %}}
Here is an example bash command using the Name.com provider:
```bash
NAMECOM_USERNAME=foo.bar \
NAMECOM_API_TOKEN=a379a6f6eeafb9a55e378c118034e2751e682fab \
lego --dns="namedotcom" --domains="my.domain.com" --email="my@email.com" run
```

View file

@ -4,7 +4,11 @@ URL = "https://www.name.com"
Code = "namedotcom"
Since = "v0.5.0"
Example = ''''''
Example = '''
NAMECOM_USERNAME=foo.bar \
NAMECOM_API_TOKEN=a379a6f6eeafb9a55e378c118034e2751e682fab \
lego --dns="namedotcom" --domains="my.domain.com" --email="my@email.com" run
'''
[Configuration]
[Configuration.Credentials]