1.0.3 • Published 9 years ago

cortex-init-prompts v1.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
9 years ago

cortex-init-prompts NPM version Build Status Dependency Status

Prompts asked when initializing a new cortex project.

Install

npm install cortex-init-prompts --save

Usage

var prompts = require('cortex-init-prompts');

prompts(options, callback)

  • options Object

    • licenses Array.<String> available licenses.
    • skip Object list of <properties>: <default-value> which should be skipped. And default-value will the be answer of the skipped question.
  • callback function(answers)

  • answers Object the answers of user.
prompts({
  license: ['MIT', 'BSD'],
  skip: {
    author_name: 'Swift'
  }
}, function(answers){
  answers.author_name; // 'Swift'
});
1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.2

10 years ago

0.2.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago