From 7f4894293467203dbe5d15088cc034612c626bab Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Wed, 8 Jul 2020 01:45:33 -0500 Subject: [PATCH] Update man page for ESH --- yadm.1 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/yadm.1 b/yadm.1 index 1c18ef8..37dfacc 100644 --- a/yadm.1 +++ b/yadm.1 @@ -637,8 +637,14 @@ upon which is available on most *nix systems. To use this processor, specify the value of "default" or just leave the value off (e.g. "##template"). .TP -.B esh -To use the esh template processor, specify the value of "esh" +.B ESH +ESH is a template processor written in POSIX compliant shell. It allows +executing shell commands within templates. This can be used to reference your +own configurations within templates, for example: + + <% yadm config mysection.myconfig %> + +To use the ESH template processor, specify the value of "esh" .TP .B j2cli To use the j2cli Jinja template processor, specify the value of "j2" or @@ -657,7 +663,7 @@ to create or overwrite files. During processing, the following variables are available in the template: - Default Jinja & Esh Description + Default Jinja or ESH Description ------------- ------------- -------------------------- yadm.class YADM_CLASS Locally defined yadm class yadm.distro YADM_DISTRO lsb_release -si @@ -705,7 +711,7 @@ would look like: config=dev-whatever {% endif -%} -And an equivalent esh named +An equivalent ESH templated named .I whatever##template.esh would look like: