Skip to content

realglobe-Inc/pon-task-init

Repository files navigation

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

Releases

No releases published

Packages

No packages published