pongni
v2.2.6
Published
pongni cli to create all template
Downloads
48
Readme

PongNi
一个轻量级的初始化项目工具
Installation
npm install pongni -gUsage
打开终端输入pongni 或者 pongni -h , 展示pongni的command列表:
Usage: pongni <command>
Commands:
list List all the templates
init Generate a new project
Options:
-h, --help output usage information
-V, --version output the version numberinit
通过这个command可以去选择模版然后初始化项目
? Project name: projectName
? Select template: vue
? Project description: A description of project!
? Where to init the project: ./
pongni · Generated "projectName".
# Project has been initialized successfully!
# ==========================================
To Get Started:
cd projectName
npm install
npm run dev
npm run build
list
展示所有的模版列表.
$ pongni list
┌───────┬────────────────┬────────┐
│ Name │ Template │ Branch │
├───────┼────────────────┼────────┤
│ vue │ vue-template │ master │
├───────┼────────────────┼────────┤
│ mpvue │ mpvue-template │ master │
├───────┼────────────────┼────────┤
│ koa2 │ koa2-template │ master │
└───────┴────────────────┴────────┘Template
vue-template -> vue模版
koa2-template -> koa2模版
mpvue-template -> mpvue模版
...
后期会慢慢更新License
MIT.
