$ cnpm install generator-evolve
This generator will dynamically find & list all available Evolution framework to use.
The generators themselves are housed within each project, so this project is little more than an entry-point to them.
$ npm install -g generator-evolve
To dynamically choose which type of project to scaffold:
$ yo evolve
If you want to scaffold one in particular, you may specify it:
$ yo evolve wordpress
When testing this project:
$ cd ~/path/to/evolution/generator-evolve
$ npm link .
$ yo evolve
When testing this sub-generators, you can manually specify the framework's path:
$ yo evolve wordpress --framework-path=~/path/to/evolution/wordpress
framework-path
defaults to Yeoman's cache: ~/.cache/yeoman/evolution/{{ project }}/{{ tag }}
Copyright 2014 - 2017 © taobao.org |