Generate a Yeoman generator
Maintainer: Pascal Hartig
- 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.
yo generatorshows a wizard for generating a new generatoryo generator:subgenerator NAMEgenerates a subgenerator with the name NAME
Scaffolds out a complete project directory structure for you:
.
├── generators
│ └── app
│ ├── index.js
│ └── templates
│ ├── _bower.json
│ ├── _package.json
│ ├── editorconfig
│ └── jshintrc
├── .editorconfig
├── .gitattributes
├── .gitignore
├── .jshintrc
├── .travis.yml
├── .yo-rc.json
├── package.json
├── README.md
└── test
└── test-app.js
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.
MIT © Pascal Hartig [email protected] and other contributors
