Skip to content

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

Notifications You must be signed in to change notification settings

segment-boneyard/metalsmith-prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages