pon-task-init

1.0.2 • Public • Published

pon-task-init

Build Status npm Version JS Standard

Pon task to initialize project

Installation

$ npm install pon-task-init --save

Usage

'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))
 

Signatures

define(options) -> function

Define task

Param type Description
options Object Optional settings
options.force boolean Force to write
options.cwd string Target directory name

tmpl(config) -> string

Ponfile template

Param type Description
config Object

License

This software is released under the Apache-2.0 License.

Links

Readme

Keywords

Package Sidebar

Install

npm i pon-task-init

Weekly Downloads

2

Version

1.0.2

License

Apache-2.0

Last publish

Collaborators

  • realglobe