Skip to content

techmsi/generator-generator

 
 

Repository files navigation

generator-generator Build Status

Generate a Yeoman generator

Maintainer: Pascal Hartig

Yo dawg, I heard you like generators?

Getting started

  • Install: npm install -g generator-generator
  • Run: yo generator

If during generation you get an error like API rate limit exceeded, you need to log in to GitHub and create a new API token, then add:

export GITHUB_TOKEN='YOUR_NEW_TOKEN'

to your .bashrc, .zshrc, .profile or another file that is run on shell initialization. In new terminal shells you shouldn't see this error anymore.

Commands

  • yo generator shows a wizard for generating a new generator
  • yo generator:subgenerator NAME generates a subgenerator with the name NAME

What do you get?

Scaffolds out a complete project directory structure for you:

.
├── app
│   ├── index.js
│   └── templates
│       ├── editorconfig
│       └── jshintrc
├── .editorconfig
├── .gitattributes
├── .gitignore
├── .jshintrc
├── LICENSE
├── package.json
├── README.md
└── test
    ├── test-creation.js
    └── test-load.js

Contributing

See the contribution docs.

When submitting an issue, please follow the guidelines. Especially important is to make sure Yeoman is up-to-date, and providing the command or commands that cause the issue.

License

MIT © Pascal Hartig phartig@rdrei.net and other contributors

About

Generate a Yeoman generator

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%