0.1.2 • Published 8 years ago

task-registry-file-template v0.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

task-registry-file-template npm

Build Status Code Climate Test Coverage downloads license

Apply the configuration data to the file contents(treat it as the template). It can specify a template engine. The default template engine will be apply if no specified.

Usage

Task    = require 'task-registry'
require 'task-registry-file-template'

template = Task 'template'

###
hi.md:
the file path is '#{path}'.
#{hi}
###
template.executeSync path: 'hi.md', engine: 'Lodash', hi: 'hello world.'
###
the file path is 'hi.md'.
hello world.
###

API

TODO

License

MIT