diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/encodeGlobal.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/api/encodeGlobal.js b/lib/api/encodeGlobal.js index 4688cca..6c3fda3 100644 --- a/lib/api/encodeGlobal.js +++ b/lib/api/encodeGlobal.js @@ -56,6 +56,19 @@ function encodeGlobal(output) { return bookFS.readAsString(fileName); }, + template: { + /** + Apply a templating block and returns its result + + @param {String} name + @param {Object} block + @return {Promise|Object} + */ + applyBlock: function(name, block) { + // todo + } + }, + output: { /** Name of the generator being used |