Yeoman generator generating a Yeoman generator
- Install:
npm install -g yo generator-generator
- Run:
yo generator
yo generator
shows a wizard for generating a new generatoryo generator:subgenerator <name>
generates a subgenerator with the name<name>
Scaffolds out a complete generator directory structure for you:
.
βββ generators/
βΒ Β βββ app/
βΒ Β βββ index.js
βΒ Β βββ templates/
βΒ Β βββ dummyfile.txt
βββ .editorconfig
βββ .eslintignore
βββ .gitattributes
βββ .gitignore
βββ .travis.yml
βββ .yo-rc.json
βββ LICENSE
βββ README.md
βββ package.json
βββ __tests__/
βββ app.js
Refer to our documentation to learn more about creating a Yeoman generator.
Run npm test
to run your test suite.
These tests will be run automatically in your git repository if you connect Travis CI. You can also track test coverage using Coveralls.
See the contribution docs.
When submitting an issue, please follow the guidelines. It is especially important 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