1.0.14 • Published 5 years ago
pon-task-pondoc v1.0.14
pon-task-pondoc
Generate document for pon
Installation
$ npm install pon-task-pondoc --save
Usage
'use strict'
const pon = require('pon')
const pondoc = require('pon-task-pondoc')
;(async () => {
const run = pon({
'doc:pon': pondoc()
})
run('myTask01')
}).catch((err) => console.error(err))
Signatures
define(src, dest, options) -> function
Define task
Param | type | Description |
---|---|---|
src | string | Source pon file |
dest | string | Destination |
options | Object | Optional settings |
options.tasksNamepath | string | = Namepath of tasks |
License
This software is released under the Apache-2.0 License.