common-questions
An object of questions commonly used by project generators or when initializing projects. Questions can be overridden, updated or extended.
This is currently formatted to work with question-store, but this will probably be generalized so it can work with inquirer, question-cache etc.
Install
Install with npm
$ npm i common-questions --save
Usage
var commonQuestions = require('common-questions');
var Questions = require('question-store');
var questions = new Questions();
var obj = commonQuestions();
for (var key in obj) {
questions.visit(key, obj[key]);
}
API
Related projects
- answer-store: Store answers to user prompts, based on locale and/or current working directory. | homepage
- question-cache: A wrapper around inquirer that makes it easy to create and selectively reuse questions. | homepage
- question-store: Ask questions, persist the answers. Basic support for i18n and storing answers based on current… more | homepage
Running tests
Install dev dependencies:
$ npm i -d && npm test
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Author
Jon Schlinkert
License
Copyright © 2015 Jon Schlinkert
Released under the MIT license.
This file was generated by verb-cli on November 27, 2015.