$ npm i -g yo
$ mkdir generator-yang
$ cd generator-yang && npm init
$ npm i yeoman-generator --save
# create the entry point for the generator
$ mkdir app && cd app && touch index.js
How to Use
# include the current directory into the npm packages path
$ npm link
$ yo yang
# after implementation added
$ yo yang --help
$ yo yang MyAwesomeApp
$ yo yang MyAwesomeApp --includerouter
$ yo yang MyAwesomeApp --skip-install
# try out the sub-generator
$ yo yang:ngc ContactDetailCtrl
$ yo yang:ngc ContactDetailCtrl --view
Yo
Setup
How to Use
Test