common-generator-prompts

2.0.0 • Public • Published

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

Dependents (6)

Package Sidebar

Install

npm i common-generator-prompts

Weekly Downloads

7

Version

2.0.0

License

MIT

Unpacked Size

4.65 kB

Total Files

5

Last publish

Collaborators

  • kael