From 0ab67f733d6159aa3b914600a613e5ef91b6a04c Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 5 Aug 2016 04:13:58 -0400 Subject: [PATCH] mention templates --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 0cdc6d2..cdc11d1 100644 --- a/README.md +++ b/README.md @@ -208,6 +208,15 @@ We do expose a few helper functions: TODO fetch domain tld list +### Template Strings + +The following variables will be tempalted in any strings passed to the options object: + +* `~/` replaced with `os.homedir()` i.e. `/Users/aj` +* `:hostname` replaced with the domain i.e. `example.com` +* `:config` replaced with `configDir` i.e. `~/letsencrypt/etc` +* `:server` replaced with the hostname + pathname of the acme server api + Developer API -------------