Skip to content

Common yeoman generator prompts to handle package informations

License

Notifications You must be signed in to change notification settings

kaelzhang/common-generator-prompts

Repository files navigation

Build Status Coverage

common-generator-prompts

Common yeoman generator prompts, actually inquirer prompts, to handle package informations

Install

$ npm i common-generator-prompts

Usage

prompting () {
  const promps = require('common-generator-prompts')().concat([
    // your other prompts
  ])

  this.prompt(prompts).then(props => {
    // To access props later use this.props.someAnswer;
    this.props = props
  })
}

common-generator-prompts handles

License

MIT

About

Common yeoman generator prompts to handle package informations

Topics

Resources

License

Stars

Watchers

Forks

Packages