前阵子写一些项目生成的脚本,感觉很不直观,shell 里面各种 mkdir xxx cp xxx,索性写一个基于很直观的配置文件生成项目结构的程序(基于node.js)。
配置文件:

会生成的目录结构:
├── conf
├── test
│ └── app
│ ├── conf
│ ├── html
│ │ ├── a.js
│ │ ├── bigscreen.js
│ │ └── index.html
│ ├── module
│ │ ├── a.html
│ │ └── media.html
│ └── styl
└── tpl
└── bigscreen.js
项目地址:
https://github.com/ianva/baya
安装:
npm install -g baya
配置文件:

会生成的目录结构:
├── conf
├── test
│ └── app
│ ├── conf
│ ├── html
│ │ ├── a.js
│ │ ├── bigscreen.js
│ │ └── index.html
│ ├── module
│ │ ├── a.html
│ │ └── media.html
│ └── styl
└── tpl
└── bigscreen.js
项目地址:
https://github.com/ianva/baya
安装:
npm install -g baya
