1.0.2 • Published 6 years ago

pon-task-init v1.0.2

Weekly downloads
346
License
Apache-2.0
Repository
github
Last release
6 years ago

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

ParamtypeDescription
optionsObjectOptional settings
options.forcebooleanForce to write
options.cwdstringTarget directory name

tmpl(config) -> string

Ponfile template

ParamtypeDescription
configObject

License

This software is released under the Apache-2.0 License.

Links

1.0.2

6 years ago

1.0.1

6 years ago