2016-07-21 12:06:39 +00:00
|
|
|
Mo is a mustache template rendering software written in bash. It inserts
|
|
|
|
environment variables into templates.
|
|
|
|
|
|
|
|
Simply put, mo will change {{VARIABLE}} into the value of that
|
|
|
|
environment variable. You can use {{#VARIABLE}}content{{/VARIABLE}} to
|
|
|
|
conditionally display content or iterate over the values of an array.
|
|
|
|
|
|
|
|
Learn more about mustache templates at https://mustache.github.io/
|
2016-07-27 14:56:33 +00:00
|
|
|
|
|
|
|
Simple usage:
|
|
|
|
|
|
|
|
mo [--false] [--help] [--source=FILE] filenames...
|
|
|
|
|
2017-06-15 18:47:51 +00:00
|
|
|
--fail-not-set - Fail upon expansion of an unset variable.
|
|
|
|
--false - Treat the string "false" as empty for conditionals.
|
|
|
|
--help - This message.
|
|
|
|
--source=FILE - Load FILE into the environment before processing templates.
|