Pon task to initialize project
$ npm install pon-task-init --save
'use strict'
const pon = require('pon')
const ponTaskInit = require('pon-task-init')
;(async () => {
let run = pon({
'init': ponTaskInit({force: false})
})
run('init')
}).catch((err) => console.error(err))
Define task
Param | type | Description |
---|---|---|
options | Object | Optional settings |
options.force | boolean | Force to write |
options.cwd | string | Target directory name |
Ponfile template
Param | type | Description |
---|---|---|
config | Object |
This software is released under the Apache-2.0 License.