From 84e9b06d604e7597b4965fb5b92563823e3188bb Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 16 Dec 2015 01:16:09 -0800 Subject: [PATCH] Update README.md --- README.md | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 85c7723..58e3742 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,29 @@ -# node-letsencrypt-cli -CLI for node-letsencrypt modeled after the official client +# letsencrypt-cli + +CLI for node-letsencrypt modeled after the official client. + +## Install + +```bash +npm install -g letsencrypt-cli +``` + +## Usage + +### Standalone + +```bash +letsencrypt certonly \ + --agree-tos --email john.doe@example.com \ + --standalone \ + --domains example.com,www.example.com +``` + +### WebRoot + +```bash +letsencrypt certonly \ + --agree-tos --email john.doe@example.com \ + --webroot --webroot-path /srv/www/acme-challenge \ + --domains example.com,www.example.com +```