dreamhost: Add CLI example (#983)

This commit is contained in:
Tom Bell 2019-10-05 12:06:12 -04:00 committed by Ludovic Fernandez
parent f69cd8d63d
commit 415e5343da
2 changed files with 10 additions and 4 deletions

View file

@ -18,9 +18,12 @@ Configuration for [DreamHost](https://www.dreamhost.com).
- Code: `dreamhost`
{{% notice note %}}
_Please contribute by adding a CLI example._
{{% /notice %}}
Here is an example bash command using the DreamHost provider:
```bash
DREAMHOST_API_KEY="YOURAPIKEY" \
lego --domains "foo.example.com" --dns dreamhost --email some@email.com run
```

View file

@ -4,7 +4,10 @@ URL = "https://www.dreamhost.com"
Code = "dreamhost"
Since = "v1.1.0"
Example = ''''''
Example = '''
DREAMHOST_API_KEY="YOURAPIKEY" \
lego --domains "foo.example.com" --dns dreamhost --email some@email.com run
'''
[Configuration]
[Configuration.Credentials]