apeman-tmpl-dot
apeman template of dot files.
Installation
$ npm install apeman-tmpl-dot --save-dev
Usage
- Define a tmpl within Apemanfile.js
- Remteder templates via apeman tmpl command.
Apemanfile.js
/** This is an example Apemanfile to use apeman-tmpl-dot */
'use strict'
module.exports = {
$pkg: { /* ... */ },
$tmpls: {
// Map file path and template.
'src/my-dest.txt': require('apeman-tmpl-dot')({
// Pass rendering params
})
}
}
Then,
$ apeman tmpl
Params
Key | Description |
---|---|
type | Template type. |
Supported Types
License
This software is released under the MIT License.