metalsmith-prompt

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

MIT 8 个版本
安装
npm install metalsmith-prompt
yarn add metalsmith-prompt
pnpm add metalsmith-prompt
bun add metalsmith-prompt
README

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 2014-10-04
0.0.7 2014-05-28
0.0.6 2014-04-30
0.0.5 2014-04-30
0.0.4 2014-04-24
0.0.3 2014-03-12
0.0.2 2014-03-09
0.0.1 2014-03-09