0.0.8 • Published 10 years ago

metalsmith-prompt v0.0.8

Weekly downloads
395
License
MIT
Repository
github
Last release
10 years ago

metalsmith-prompt

A metalsmith plugin to prompt the user for series of answers and add them to the global metadata.

Installation

$ npm install metalsmith-prompt

Example

var prompt = require('metalsmith-prompt');

metalsmith.use(prompt({
  name: 'string',
  lucky: 'number',
  designer: 'boolean'
}));

Which will prompt the user like so:

        name: Ian
       lucky: 42
    designer? (y/n) y

License

MIT

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago