hubot-render
A hubot script to render mustache templates.
See src/render.coffee
for full documentation.
Installation
In hubot project repo, run:
npm install hubot-remember-multiline --savenpm install hubot-render --save
Then add hubot-render to your external-scripts.json
:
Sample Interaction
user1>> hubot remember tmpl1 is{{title}} spends {{calc}}user1>> hubot render tmpl1 title:Joe, calc:6hubot>> Joe spends 6
See ./test/*.coffee for more examples.