yeoman-automation-adapter

2.0.0 • Public • Published

yeoman-automation-adapter

Yeoman automation adapter for creating automatic responses to user prompts. Used when creating automations to run yeoman without user interaction

Installtion

npm install yeoman-automation-adapter

Usage

const yeoman = require('yeoman-environment');
const { AutoAdapter } = require('yeoman-automation-adapter');
const answers = {
  'appName': 'test',
  'appVersion': '1.0',
};
const silent = false;
const adapter = new AutoAdapter(answers, silent);
const env = yeoman.createEnv([], {}, adapter);
env.run(...);

Examples

Please see examples dir for fully automated examples

Package Sidebar

Install

npm i yeoman-automation-adapter

Weekly Downloads

26

Version

2.0.0

License

AGPL-3.0

Unpacked Size

12.9 MB

Total Files

360

Last publish

Collaborators

  • regevbr