gen-webapp
Version:
to generator a project quickly by given conditions
34 lines (25 loc) • 749 B
Markdown
# gen-webapp
> To generator a project quickly by given conditions
## Install
You can install the latest version of the package using npm:
``` shell
npm install -g gen-webapp
```
## Usage
create project by type:
``` shell
cosmos create <app-name>
-d, --usedefault :Skip prompts and use default template type
-p, --path :Path to create your project
-t, --type :Template type
```
create project by given remote repository url:
``` shell
cosmos init <app-name> <template>
-p, --path : Path to create your project
```
## Tips
1. make sure the folder is clean otherwise the commander will rewrite all the files
2. make sure you have the authority to explore gitlab.alibaba-inc.com's repositories
3. nodejs version > 9.0.0
4. Mac is better