UNPKG

generator-hap

Version:

generator hap for install and update hap scaffold

40 lines (25 loc) 520 B
## About Generator-Hap will help you install scaffold from github or archive and zip file; ## Usage ### Installation #### 1.Make sure both is installed globally ``` npm install -g yo npm install -g generator-hap ``` #### 2.Create a new directory, and `cd` into it ``` mkdir my-new-project && cd my-new-project ``` #### 3.Run the generator ``` yo hap ``` #### 4.See the generator options ``` yo hap --help // setting the scaffold like this yo hap --option-name value --option-name value ``` ## License MIT