common-generator-prompts

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

Usage no npm install needed!

<script type="module">
  import commonGeneratorPrompts from 'https://cdn.skypack.dev/common-generator-prompts';
</script>

README

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